In UML diagram of a class
20072007
In UML diagram of a class
Answer: C. state is represented as an attribute — In a UML class diagram, attributes represent the state or data properties of objects. Operations represent behavior.
- 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 17 students.
Show answer & explanation
Correct answer: C
In a UML class diagram, attributes represent the state or data properties of objects. Operations represent behavior.
Loading lesson…