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 more