MCQs > IT & Programming > Objective C > If you define a new class called Foo which inherits from NSObject, how do you create a new instance of it?

Objective C MCQs

If you define a new class called Foo which inherits from NSObject, how do you create a new instance of it?

Answer

Correct Answer: Foo *temp = [[Foo alloc] init];

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