In Hierarchical Inheritance, one class serves as a superclass (base class) for more than one subclass. In the below image, class A serves as a base class for the derived classes B, C, and D.
-
Updated
Apr 15, 2023 - Java
In Hierarchical Inheritance, one class serves as a superclass (base class) for more than one subclass. In the below image, class A serves as a base class for the derived classes B, C, and D.
Resolução de exercícios sobre Herança em Java.
Add a description, image, and links to the hierarchical-inheritance topic page so that developers can more easily learn about it.
To associate your repository with the hierarchical-inheritance topic, visit your repo's landing page and select "manage topics."