Logical Data Modeling - Relationship in class (code).
Wiring everything (entity) together is a tedious part of application development.
An Association is a structural relationship (a tuple) between the objects of two classes.
A containment may be one of this form:
generalization relationship
The subclass is considered to be a specialized form of the super type and the superclass is considered a Generalization of the subclass. It's also known as a tree of generalizations.
Type - Implementation (Generalization relationship) - also known as realization is a relationship between a client that implements the behavior of an interface (supplier).