An empty diamond is attached to the class of the composing class to denote the aggregation relationship with the composed object.
Explanation:
An empty diamond is attached to the class of the composing class to denote the aggregation relationship with the composed object.
Composition is one of the most fundamental concepts in object-oriented programming(OOPS) .
Composition class describes a class that refers to one or more objects of other classes in instance variables.
The composition class allows us to model a has-a association between objects.
The term Composition refers to the act of putting thing together .Like a bunch of flowers placed in a Vase