In: Computer Science
Describe the types of hierarchy found in object-oriented system descriptions.
The type of hierarchy found for the object-oriented system is as follows:
1) Is-a hierarchy:
As per the behavior and the state where the level of classes are considered . It helps the lower level of classes to be built on top of the higher level of classes.
2) Part-OF hierarchy:
This is done via aggregation.
Here the objects are very large
3) Hasa Hierarchy:
This is meant for the code organization where the objects are involved in containing other objects.