Multiple choice

Which of the following is an incorrect statement about garbage collection (GC) in Objective C?

  1. Garbage collection reduces the effect of memory management methods.

  2. The dealloc method can not be called during GC.

  3. The methods like copy and mutable copy messages, copy the value of the object in case GC is enabled.

  4. The final method can not be implemented if GC is enabled.

  5. Garbage collection is off by default.

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

One can implement the final method for some (though not all) of the same cases.