hi am working with NSArrays using foundation tool and i have wrote the following code
-(void)simplearrays { NSMutableArray *arr = [NSMutableArray array
The basic difference is that you cant add an object to NSArray. So if you want to have an array to which you want to add an object you have to use NSMutable array.