it is a technique of organizing information in a hierarchy form. It is like a child inheriting the features of its parent
The class which we are inheriting from is called as the base class and the class which inherits called as derived class.
Different types of inheritance are as follows-:
**1: single level