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 true?
A. A non-private method in a superclass can be overridden
B. A subclass method can be overridden by the superclass
C. A private method in a superclass can be overridden
D. Overriding isn't possible in Python
Explanation: A public method in the base class can be overridden by the same named method in the subclass.
© 2022-2023 Python Circle