Inklusionsbeziehungen
Inklusionsbeziehungen, often translated as inclusion relationships, describe a situation in object-oriented programming where one class is a specialization or subtype of another, meaning that instances of the subtype can be used wherever instances of the supertype are expected. This concept is closely tied to polymorphism and inheritance, where a derived class inherits properties and behaviors from a base class.
The core principle of inclusion is that the subtype must satisfy the contract of the supertype. This
Inclusion relationships are fundamental to building flexible and extensible software systems. They allow for code reuse