Multiple choice technology architecture

When to use Aggregations?

  1. To depict elements which are made up of smaller components.

  2. To define relationship between two elements.

  3. To define variations on existing UML model.

  4. Used when we need to map an event with action using a guard.

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

Aggregation is a "has-a" relationship where a whole is composed of parts, but the parts can exist independently. It's depicted with a hollow diamond at the container end. Unlike composition, aggregated parts have their own lifecycle and can belong to multiple wholes. For example, a Department aggregates Employees who can move to other departments.