Multiple choice technology

Which of the following in method’s name does not return a retained object

  1. Copy

  2. Alloc

  3. New

  4. Init

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

In Objective-C naming conventions, methods containing 'copy', 'alloc', or 'new' return objects with a retain count of 1 (the caller owns them). Methods with 'init' (like init, initWithSomething:) operate on already-allocated instances and don't return retained objects.