What is the difference between association Aggregation and composition with example?

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

Sizin İçin Seçtik  What is Btcdown in Binance?

Leave a Reply

Your email address will not be published. Required fields are marked *