Explain hierarchical inheritance in java with example?
Rate this page :
![]() ![]() ![]() ![]() ![]() |
[ 0 votes]
|
Hierarchical inheritance, which is generally a form of inheritance where one or more classes is derived from one parent class.Here, the class A is a base class which is called by both B and C subclasses. Base class A has more than one derived class.