• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is '"composite aggregation"?

 
Along huang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meet the question:
What is the difference between composite aggregation and normal aggregation.
a) Aggregation defines a part of relationship but both objects can exist independently.However, with composite aggregation if one part is removed, then the other part will also be removed. Think of a plane the wings have a composite aggregation relationship with the body of the plane.
b) Composite Aggregation defines a part of relationship but both objects can exist independently. However, with aggregation if one part is removed then the other part will be removed. Think of a plane, the wings have an aggregation relationship with the body of the plane.

The correct answer is a), but I can't fullly comprehend the concept, where can I find more stuff on this subject?

thanks in advanced
 
Vijay Madiraju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I came across while searching for the same..I found the link http://www.holub.com/goodies/uml/ very useful in resolving the basic concepts of uml, hope you too find it worth .
Cheers,
Vijay Madiraju
SCJP,SCWCD 1.4
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!