PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
Which of the following statements isn't true?
A. A non-private method in a superclass can be overridden
B. A derived class is a subset of superclass
C. The value of a private variable in the superclass can be changed in the subclass
D. When invoking the constructor from a subclass, the constructor of superclass is automatically invoked
Show Answer
Next Question
Correct Answer:
C
Explanation: If the value of a private variable in a superclass is changed in the subclass, the change isn't reflected.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap