PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Private members of a class cannot be accessed. True or False?
A. True
B. False
Show Answer
Next Question
Correct Answer:
B
Explanation: Private members of a class are accessible if written as follows: obj._Classname__privatemember. Such renaming of identifiers is called as name mangling.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap