On the basis of class, there can be three types of inheritance in java: single, multilevel and hierarchical .
Read moreWhat is inheritance in program?
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.
Read moreWhat is hierarchical inheritance in OOP?
Hierarchical inheritance describes a situation in which a parent class is inherited by multiple subclasses . A type of inheritance in which more than one class is inherited from a single parent or base class is known as hierarchical inheritance.
Read more