Next
-
Previous
Overview
Class
Hierarchy
Types
of Polymorphism
Resources
|
Class Hierarchy:
Class hierarchy is also called an
inheritance hierarchy. It shows a complete hierarchy of classes and
subclasses that are derived from their parent classes. For example,
university community can be divided in to employees, students, and alumni.
Employees are again divided in to staff and faculty members. Students are
divided in to undergraduate and graduate students. Below is the class
hierarchy diagram for university community.
|