This blog is available for sale. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
The purpose of name mangling is to avoid unintentional access of private class members. True or False?
Explanation: Name mangling prevents unintentional access of private members of a class, while still allowing access when needed. Unless the variable is accessed with its mangled name, it will not be found.
© 2022-2023 Python Circle