Multiple choice

Which of the following is a false statement about 'properties' in Objective C?

  1. These are used to declare the data of a class.

  2. The most commonly used parameters are copy/retain/assign in the Property.

  3. The assign keyword generates a setter, which do not have retained objects.

  4. The assign can be interchanged with another object's property.

  5. The read-only keyword is used to generate the setters.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

The read-only keyword means a setter will not be generated.