Multiple choice

Which of the following is/are incorrect about 'posing' in Objective C?

  1. It is used to replace an existing class in a program.

  2. A class may only pose as one of its direct or indirect superclasses.

  3. The posing class must not define any new instance variables that are absent from the target class.

  4. A posing class can call overridden methods through super, thus incorporating the implementation of the target class.

  5. A posing class can not override methods defined in categories.

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

This is incorrect as the posing class can override methods defined in categories.