Object Oriented Software Engineering View all facts Glossary Help |
subject > hierarchy > generalization > valid generalization |
valid generalization | ||||
subject | fact |
valid generalization | contains only features that must make sense in each subclass | |
is a subtopic of 2.5 - Organizing Classes Into Inheritance Hierarchies | ||
is a kind of generalization | ||
generalization | 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 drawn as a small triangle pointing towards the superclass in a UML class diagram | ||
is implemented using the extends keyword in Java | ||
see also generalization^2, generalization^3 |