Question: For observing changes to a property, which of these two statements cause the related method to be called and why?

  1. Statement 2, since it calls the auto-created setter on the property.
  2. Statement 1, since it uses the property directly.
  3. Statement 2, since it specifies the class instance to use.
  4. Statement 1, since it calls the auto-created setter on the property.

Answer: The correct answer of the above question is Option A:Statement 2, since it calls the auto-created setter on the property.