There are different types of inheritance viz., Single inheritance, Multiple inheritance, Multilevel inheritance, hybrid inheritance, and hierarchical inheritance . Single Inheritance: When a derived class inherits only from one base class, it is known as single inheritance.
Read moreWhat is in inheritance?
What is Inheritance in Object Oriented Programming? Inheritance is the procedure in which one class inherits the attributes and methods of another class . The class whose properties and methods are inherited is known as the Parent class.26 Eki 2020
Read more