將普通數據類型轉換為OC對象;
NSNumber *int = [[NSNumber alloc] initWithInt:6];
NSNumber *char = [[NSNumber alloc] initWithChar:6];
NSNumber *float = [[NSNumber alloc] initWithFloat:6];
NSNumber *double = [[NSNumber alloc] initWithDouble:6];
OC中,將普通數據類型轉換為對象,可以對這個值進行更多的操作,比較、存在數組內等等等等;