OMG
UM0-300 · Question #41
When can an OCL expression be used to specify a state change?
The correct answer is C. when expressing the postconditions of an operation. See the full explanation below for the reasoning.
Question
When can an OCL expression be used to specify a state change?
Options
- Ain all circumstances
- Bnever
- Cwhen expressing the postconditions of an operation
- Dwhen expressing the preconditions of an operation
- Ewhen the stereotype <<volatile>> is used
How the community answered
(63 responses)- A2% (1)
- B3% (2)
- C73% (46)
- D16% (10)
- E6% (4)
Community Discussion
No community discussion yet for this question.