In UML diagram of a class
20072007
In UML diagram of a class
- A.
state of object cannot be represented
- B.
state is irrelevant
- C.
state is represented as an attribute
- D.
state is represented as a result of an operation
Attempted by 9 students.
Show answer & explanation
Correct answer: C
In a UML class diagram, attributes represent the state or data properties of objects. Operations represent behavior.