aspose file tools
The moose likes Associate Certification (SCJA/OCAJ) and the fly likes Doub between simple class association and composition. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Associate Certification (SCJA/OCAJ)
Reply Bookmark "Doub between simple class association and composition." Watch "Doub between simple class association and composition." New topic
Author

Doub between simple class association and composition.

Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 235
What�s the difference between implementation of simple class association and composition ?
Both implementations will result in a class be an atribute of the another class ("HAS-A" behavior). Or am I wrong ?

Regards,


SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
Mahesh Kumaraguru
Ranch Hand

Joined: Jun 01, 2005
Posts: 95
Refer :-

http://www.coderanch.com/t/99586/patterns/Difference-between-Association-Aggregation-Composition

http://faq.javaranch.com/view?AssociationVsAggregationVsComposition


Regards,<br />K. Mahesh<br /> <br />SCJP 1.2 Aug-2001 : 79%
 
IntelliJ Java IDE
 
subject: Doub between simple class association and composition.
 
Threads others viewed
Association /aggregation/composition
What is a good example of association
dependency or association??
Association and dependency
association, aggregation, Composition