Multiple choice technology web technology

In the UML notation, inside each class in a class diagram are printed

  1. its name, attributes, operations, and derived classes.

  2. its name, attributes and operations.

  3. its name, and attributes.

  4. its name, and operations.

  5. just its name.

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

UML class diagrams display three compartments in a class box: name (top), attributes (middle), and operations/methods (bottom). Derived classes are shown separately with inheritance arrows, not inside the parent class. This standardized format makes class structure immediately visible.