MCQs > IT & Programming > Objective C > If you wanted to override the default alloc method in a class Foo, what would be the appropriate way to declare it?

Objective C MCQs

If you wanted to override the default alloc method in a class Foo, what would be the appropriate way to declare it?

Answer

Correct Answer: + (id) alloc;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Objective C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Objective C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it