What is inheritance?
Object-oriented programming
Audio flashcard · 0:15Nortren·
What is inheritance?
0:15
Inheritance is a mechanism where a class derives attributes and methods from another class, called the parent or base. The derived class is called the subclass or child. Inheritance enables code reuse and polymorphism. A subclass can override inherited methods and add new ones.
docs.python.org