Python Programming - Encapsulation - Discussion
Discussion Forum : Encapsulation - General Questions (Q.No. 39)
39.
What is the role of a getter method in encapsulation?
Answer: Option
Explanation:
A getter method in encapsulation 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