Solution

NSMutableArray array = nil;

array = [NSMutableArray arrayWithObjects:@"Hat", @"Bat", @"Mat" nil];

// method 1

NSLog(@"array: %@", array);

// method2

for (id obj in array)
   NSLog(@"obj: %@", obj);