Python Programming - Encapsulation - Discussion
Discussion Forum : Encapsulation - General Questions (Q.No. 26)
26.
In Python, what does the double underscore prefix in a variable, like
__variable
, indicate?
Answer: Option
Explanation:
The double underscore prefix in Python, as in
__variable
, indicates a private variable.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers