Multiple choice

Which of the following is not a restriction in Posing in Objective-C?

  1. A posing class can call overridden methods through super keyword.

  2. The posing class must not define any new instance variables other than target class.

  3. A posing class can not override methods defined in the categories.

  4. The target class is unaware of any information about posing class.

  5. A class may only pose as one of its direct or indirect super classes.

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

A posing class can override methods defined in categories.