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
Answer and explanation
Concise answer
A black diamond line
Why this is correct
In UML, composition is represented by a black diamond line. Aggregation is represented by a white diamond line.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
