topic/Encapsulation
Start Test
Question No
Title
Type
Marks
498.
In Python, what is encapsulation?
MCQ
5
499.
Which access specifier in Python is used to indicate that a variable or method should only be accessed within the same class?
MCQ
5
500.
What is the purpose of the@propertydecorator?
MCQ
5
501.
Which of the following statements about encapsulation in Python is true?
MCQ
5
502.
What is the main advantage of encapsulation in object-oriented programming?
MCQ
5