Class hierarchy is a term used in Java. It is used for
identifying the inheritance hierarchy or the parent class
relationships Ex: Public class B extends C { } Public class A
extends B { } Here if we take the class hierarchy for class 'A' it
would be A