Python Programming - Encapsulation - Discussion
Discussion Forum : Encapsulation - General Questions (Q.No. 54)
54.
Which of the following access specifiers in Python allows a variable or method to be accessible within its own class and its subclasses?
Answer: Option
Explanation:
The protected access specifier in Python allows a variable or method to be accessible within its own class and its subclasses.
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