Multiple choice technology web technology

Aggregation (encapsulation) relationships are represented in the UML notation by

  1. nesting of classes

  2. lines with a solid diamond at one end

  3. lines with a hollow diamond at one end

  4. lines with an arrow at one end

  5. lines without an arrow at either end

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Aggregation (whole-part relationship where parts can exist independently) in UML is represented by a solid line with a hollow diamond at the container end. Composition (strong ownership) uses a solid diamond. Arrows (triangular or regular) represent inheritance or associations, not aggregation.