Python Programming - Encapsulation - Discussion

Discussion Forum : Encapsulation - General Questions (Q.No. 22)
22.
Which access specifier in Python is used to indicate that a variable or method should not be accessed from outside the class?
Public
Private
Protected
Global
Answer: Option
Explanation:
Private access specifier in Python is used to indicate that a variable or method should not be accessed from outside the class.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.