File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Composition and Aggregation
It's not a secret anymore!