Aggregation and Composition

Newbie Member
5Mar2009,19:58   #1
Gorilla09's Avatar
Java UML, what is aggregation and composition means?
Go4Expert Founder
5Mar2009,20:03   #2
shabbir's Avatar
Check out OOP and UML.

As a quote from that Article

Quote:
Aggregation differs from ordinary composition in that it does not imply ownership. In composition, when the owning object is destroyed, so are the contained objects. In aggregation, this is not necessarily true.