Hierarchical Inheritance
In Hierarchical inheritance a class is inherited by more than one classes. Let us take a look at the diagram: In the above diagram we can see that class B and class C is inheriting from the same class A which is called Hierarchical Inheritance in Java. Let us look at an example to understand … Read more