0
Inheritance is the second most important feature of the OOP.
Inherit mean to receive.
The mechanism by which one class can inherit the properties of another.
The existing class is called parent class or base class.
The a new class is written such that it can access or use the members of an existing class is called the derived class or child class.
Derived class has its own data members and member ftns.



