DEV Community

hema latha
hema latha

Posted on

Hierarchical inheritance in Java

Hierarchical inheritance in Java is a type of inheritance
Where a single parent class is extended by multiple child classes.
Each child class inherits the property and method of the parents class but can also define its own unique features

Top comments (0)