Multiple choice technology web technology

In the UML notation, parameterized (generic) classes are represented by

  1. the normal class representation with a dotted arrow pointing at the template parameter classes

  2. the normal class representation but shaded grey.

  3. the normal class representation with a dotted outline and the names of its parameter classes listed on the top right-hand corner.

  4. the normal class representation with a rectangular box in its top left-hand corner.

  5. Its a trick question - parameterized classes can't be specified in the UML notation.

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

In UML, parameterized (generic) classes are shown with a dotted outline box in the top right corner listing the template parameters. This distinguishes them from regular classes. Option E is incorrect because UML does support generics notation.