Multiple choice technology web technology

In the UML notation, an object can be represented by

  1. A comment or explanatory note associated with a class

  2. A rectangular box with the object name and the constraint "{object}" immediatly following it

  3. A rectangular box with the name of the object in the box.

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

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

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

In UML object diagrams, an object is shown as a rectangular box with the object name, a colon, and the class name (e.g., 'myObject:ClassName'). The object name may be underlined to indicate it's an instance. Option C describes class notation, B describes constraints, and E describes sequence diagram lifelines.