Question from the Objective-C test

What is the output of the following code? NSMutableArray *array = [[NSMutableArray alloc] init]; [array addObject:@"1"]; [array addObject:@"2"]; [array addObject:@"3"]; [array removeObjectAtIndex:0]; NSLog(@"%@", array);

Easy

What is the difference between NSArray and NSMutableArray ?

Author: Smart&SoftStatus: PublishedQuestion passed 21 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!