Multiple choice technology programming languages

Association in UML can be represented by:

  1. Only with a double line between base class & derived classes

  2. A plane line with no shape on either end

  3. A line with an arrow-head pointing in direction of parent or superclass

  4. Diamond shape between classes

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

In UML, association relationships are represented by a line with an arrowhead pointing from the derived class toward the parent or base class. This shows the direction of the relationship. The other options represent different UML concepts - double lines are for implementation, diamond shapes for aggregation/composition.