This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
Which of the following statements is wrong about inheritance?
A. Protected members of a class can be inherited
B. The inheriting class is called a subclass
C. Private members of a class can be inherited and accessed
D. Inheritance is one of the features of OOP
Explanation: Any changes made to the private members of the class in the subclass aren't reflected in the original members.
© 2022-2023 Python Circle