PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
What does single-level inheritance mean?
A. A subclass derives from a class which in turn derives from another class
B. A single superclass inherits from multiple subclasses
C. A single subclass derives from a single superclass
D. Multiple base classes inherit a single derived class
Show Answer
Next Question
Correct Answer:
C
Explanation: In single-level inheritance, there is a single subclass which inherits from a single superclass. So the class definition of the subclass will be: class B(A): where A is the superclass.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap