hi am working with NSArrays using foundation tool and i have wrote the following code
-(void)simplearrays { NSMutableArray *arr = [NSMutableArray array
You use NSMutableArray when you want to add/remove objects from the array.
NSMutableArray
If you only create array with objects and you don't plan to modify the contents then use NSArray.
NSArray
You can convert from one to the other.