iOS Developer Question:

Explain keywords alloc and new?

Tweet Share WhatsApp

Answer:

The alloc keyword is used to create a New Memory Location in the System. However, it does not initialize it. In case of New keyword, it also helps to create a New Memory Location in the system. However, it can initialize the Contents unlike the alloc keyword.

Download iOS Developer PDF Read All 102 iOS Developer Questions
Previous QuestionNext Question
Explain App ID?What is a Protocol in Objective-C Programming Language?