Association refers to “has a” relationship between two classes which use each other. Aggregation refers to “has a”+ relationship between two classes where one contains the collection of other class objects.
Read moreWhat is aggregation and example?
Aggregation is the process of combining things . That is, putting those things together so that we can refer to them collectively. As an example, think about the phone numbers on your cell phone. You can refer to them individually – your mother’s number, your best friend’s number, etc.
Read more