Multiple choice

Which of the following is a correct statement about 'autorelease' in Objective C?

  1. It acts as a medium between the memory system and the garbage collection.

  2. All the released objects are included in the autorelease pool.

  3. All of the objects must be passed in a method pool.

  4. Some objects can be forced to autorelease.

  5. Every program must create its own object.

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

The objects cannot be forced to autorelease.