Multiple choice technology web technology

In the UML notation a class can be represented by

  1. A rectangular box with the name of the class in the box

  2. A rectangular box with the name of the object, a : and the class name that the object belongs to

  3. A rectangular box with the class name prefixed by the word "class"

  4. A thin vertical line with key method calls shown as outward arrows

  5. A rectangular box with an inserted dashed box on the top right corner.

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

In UML class diagrams, a class is represented by a rectangular box divided into three compartments: class name (top), attributes (middle), and operations (bottom). Option A correctly describes the basic representation as a rectangular box with the class name.