Virtual Classes Logo          Virtual Classes
    Read Anytime,Anywhere

Aggregation

It is a specialized form of Association where all objects have their own lifecycle but there is ownership. This represents "whole-part or a-part-of" relationship. This is represented by a hollow diamond followed by a line.
Let’s take an example of relationship between CAR and OWNER.A OWNER may have multiple CARS But if we delete a OWNER , CAR Object will not destroy.

Aggregation Example