Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Aggregation and Composition (http://www.go4expert.com/forums/aggregation-and-composition-t16451/)

Gorilla09 5Mar2009 19:58

Aggregation and Composition
 
Java UML, what is aggregation and composition means?

shabbir 5Mar2009 20:03

Re: Aggregation and Composition
 
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.


All times are GMT +5.5. The time now is 07:06.