Python Programming - Encapsulation - Discussion
Discussion Forum : Encapsulation - General Questions (Q.No. 12)
12.
In Python, what is a getter method used for in the context of encapsulation?
Answer: Option
Explanation:
In encapsulation, a getter method is used to retrieve the value of 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