wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Composition and Aggregation 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 » Beginning Java
Bookmark "Composition and Aggregation" Watch "Composition and Aggregation" New topic

Composition and Aggregation

Rajesh Mani

Joined: May 12, 2007
Posts: 6
Hi All,

Could anyone please provide a code example which will explain composition and aggregation oops concepts in java. Thanks a ton in advance.

Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Have a read through our AssociationVsAggregationVsComposition FAQ and the topics linked from it. It should help.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
It is sorta covered in the JavaRanch Style Guide.
subject: Composition and Aggregation
Similar Threads
Passed SCEA II/III with 92%
How to differentiate among aggregation, association and composition?
what is the differance between Composition and Aggregation?
Question related to dynamic resue of objects
Aggregation vs Composition