

InterviewSolution
Saved Bookmarks
1. |
Which of the following is false about protected class members?(a) They begin with one underscore(b) They can be accessed by subclasses(c) They can be accessed by name mangling method(d) They can be accessed within a classI got this question by my school principal while I was bunking the class.The question is from Encapsulation in section Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python |
Answer» Correct ANSWER is (C) They can be accessed by name MANGLING method |
|