This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41137
    
  45
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
Aggregation vs Composition
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