Hierarchy (object-oriented programming) |
In computer science s object-oriented programming, the mapped relationships of class (object-oriented programming) is known as a hierarchy. This can be visualized as an upside-down tree (or perhaps a pyramid), the top of which is known as the root (computing). The issue is more complicated with languages that support multiple inheritance, where hierarchy can be any directed acyclic graph.
Aggregation or Composition (computer science) relationships in object-oriented design also form a hierarchy, composition hierarchy.
=Hierarchy in Java=
The root of the java class hierarchy is the object (object-oriented programming) class (object-oriented programming).
See also : family tree, hierarchy, list of basic computer science topics, List_of_graph_theory_topics|
|