0 votes
in JAVA by
What is the difference between aggregation and composition?

1 Answer

0 votes
by

Aggregation represents the weak relationship whereas composition represents the strong relationship. For example, the bike has an indicator (aggregation), but the bike has an engine (composition).

Related questions

0 votes
asked Dec 7, 2020 in JAVA by SakshiSharma
+1 vote
asked May 12, 2021 in JAVA by rajeshsharma
...