PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
Methods of a class that provide access to private members of the class are called as ______ and ______
A. getters/setters
B. __repr__/__str__
C. user-defined functions/in-built functions
D. __init__/__del__
Show Answer
Next Question
Correct Answer:
A
Explanation: The purpose of getters and setters is to get(return) and set(assign) private instance variables of a class.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap