OOPS6
OOPS6
OOPS6
• Inheritance in Python
• We often come across different products that have a basic model and
an advanced model with added features over and above basic model.
A software modelling approach of OOP enables extending the
capability of an existing class to build a new class, instead of building
from scratch. In OOP terminology, this characteristic is called
inheritance, the existing class is called base or parent class, while the
new class is called child or sub class.