Machine-translated by Google. Questions are authored in English.
Top

Discussion

An operation that alters the state of an object is known as a constructor operation.

  • A.True
  • B.False

Answer: B

Correct answer: False

An operation that alters the state of an object is an update or modifier operation. A constructor creates a new instance; it does not alter an existing one. The third kind, a query, reports on the state without changing it.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.