nerdexam
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)
  • A
    2% (1)
  • B
    3% (2)
  • C
    73% (46)
  • D
    16% (10)
  • E
    6% (4)

Community Discussion

No community discussion yet for this question.

Full UM0-300 Practice