MCQs > IT & Programming > Objective C > Look at below code and tell what the problem could be:

Objective C MCQs

Look at below code and tell what the problem could be:

NSNumber value1 = [[NSNumberalloc] initWithFloat:8.15]; NSNumber value2 = [NSNumber numberWithFloat:8.29]; … … … [value1 release]; [value2 release];

Answer

Correct Answer: Value1 and value2 should be initialized after allocating

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