Aggregation and Composition

Gorilla09's Avatar, Join Date: Mar 2009
Newbie Member
Java UML, what is aggregation and composition means?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.