Object Oriented Software Engineering View all facts Glossary Help |
subject > hierarchy > generalization |
generalization | ||||
subject | fact |
generalization | has definition The relationship between a set of similar entities and another entity that contains the common aspects of those entities | |
describes a relationship between classes in a class diagram | ||
does not appear in instance diagram | ||
groups classes into inheritance hierarchies | ||
helps to avoid duplication of code | ||
improves reuse | ||
is a subtopic of 5.4 - Generalization | ||
is drawn as a small triangle pointing towards the superclass in a UML class diagram | ||
is implemented using the extends keyword in Java | ||
is a kind of hierarchy | ||
see also generalization^2, generalization^3 |
Kinds of generalization :