Inheritance
Inheritance is the act of deriving a new class from an existing one.
A primary purpose of inheritance is to reuse existing software.
Original class used to derive a new class is called “super” class and the derived class is called “sub” class.
Inheritance represents “is a” relationship between the superclass and the subclass.