The Artima Developer Community
Sponsored Link

Legacy Design Forum
Composition Versus Inheritance

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

aggregation/ composition/association

Posted by florian troesch on August 24, 2001 at 11:47 AM

Is it right that the difference between aggregation & association
is that in case of aggregation A->B, B can only exist if A does.
Is it futhermore right that the difference between aggregation
and composition is that a composition A->B, can have on the A
side only cardinality 0..1.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us