What is composition aggregation and association in OOP?

In Short, a relationship between two objects is referred to as an association, and an association is known as composition when one object owns another while an association is known as aggregation when one object uses another object .

Sizin İçin Seçtik  What is the different kind of relationship among classes?

Leave a Reply

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