What is Inheritance?
Ability of a new class to be created, from an existing class by extending it, is called inheritance. The idea of inheritance implements the IS-A relationship. The existing class is called base class or supper class or parent class and the inherited class are called derived class or sub class or child class.
Tags
OOP