Exam-style question
Try this first
Which UML notation represents composition?.
- A.A black diamond line
- B.A white diamond line
- C.A plus sign beside a member
- D.A hash symbol beside a member
Model answer
What a good answer should say
- A black diamond line
Explanation
Why this works
In UML, composition is represented by a black diamond line. Aggregation is represented by a white diamond line.
Common mistake
No common mistake is linked to this question yet.
