wood burning stoves 2.0*
The moose likes Java in General and the fly likes What is the difference between aggregation and composition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is the difference between aggregation and composition" Watch "What is the difference between aggregation and composition" New topic
Author

What is the difference between aggregation and composition

Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 435
What is the difference between aggregation and composition?

I know that there are concepts which are related to it like weak HashMap and HashMap and Garbage Collection.

The part is destroyed if the whole is destroyed in aggregation.

Well the concept is not clear to me very much.

Thanks in advance for replies,

Maki Jav


Help gets you when you need it!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41019
    
  43
As so often is the case, the JavaRanch FAQ has something to say about this: AssociationVsAggregationVsComposition


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the difference between aggregation and composition
 
Similar Threads
what is association,aggregation and composition? what is the difference between them?
difference between composition n aggregation?
what is the differance between Composition and Aggregation?
Aggregation vs Composition
Aggregation vs Composition