If one object is-part-of another object e.g. Engine is part of Car, then the association or relationship between them is Composition. On the other hand, if one object just has another object e.g. Car has the driver then it’s Aggregation.16 Eyl 2021
If one object is-part-of another object e.g. Engine is part of Car, then the association or relationship between them is Composition. On the other hand, if one object just has another object e.g. Car has the driver then it’s Aggregation.16 Eyl 2021