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?
Public
Private
Protected
Global
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:

Your comments will be displayed after verification.