In Hierarchical Inheritance, the multiple child classes inherit the single class or the single class is inherited by multiple child class. The use of inheritance in Java is for the reusability of code and for the dynamic polymorphism (method overriding).