+ 2
Difference between aggregation and composition ?
In UML diagrams, Aggregation: Source <>-------Target (Hollow arrow) Composition Source <â˘>---------Target (Filled arrow) What is the meaning of this ?đ Any real life example for better understanding? Thank you.
2 Answers
+ 11
Assosiation is one main thing which is represented for relationships between two classes A and B. Aggregation and composition is two part of association
The below two links specify this with real life examples if you faces difficulties to understand this ping me.
http://aviadezra.blogspot.com/2009/05/uml-association-aggregation-composition.html?m=1
https://www.visual-paradigm.com/guide/uml-unified-modeling-language/uml-aggregation-vs-composition/
+ 5
GAWEN STEASY
Thank you !! All UML books are confusing the above concepts. But this one simply describes it, with nice example đ