Inheritance in OOP allows a class to:
Combine multiple classes into one
Define multiple methods with the same name
Inherit properties and behaviors from a superclass
Restrict access to certain components of an object
This question is part of this quiz :
Python OOPs quiz