File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Aggregation, association and composition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Aggregation, association and composition" Watch "Aggregation, association and composition" New topic

Aggregation, association and composition

nthanigai kumar

Joined: Dec 13, 2004
Posts: 5

please help me for difference between association, aggregation and composition...with some code examples...


Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

I'm going to move this to our 00, Patterns, UML and Refactoring forum, where it's on-topic.

[Jess in Action][AskingGoodQuestions]
subject: Aggregation, association and composition
It's not a secret anymore!