向ArrayList对象中添加一个元素的方法是 A: addObject(Object c) B: add(Object o) C: set(Object c) D: setObject(Object o)t
向ArrayList对象中添加一个元素的方法是 A: addObject(Object c) B: add(Object o) C: set(Object c) D: setObject(Object o)t
NSMutableDictionary *mutableDic = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",[NSNumber numberWithInt:20],@"age", nil]; <br/>[mutableDic setObject:@"89" forKey:@"num"];<br/>NSLog(@"mutableDic4 = %@“,mutableDic);<br/>控制台打印是: A: name = lisi;num = 89 B: age = 20;name = lisi;num = 89 C: age = 20;name = lisi D: age = 20
NSMutableDictionary *mutableDic = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",[NSNumber numberWithInt:20],@"age", nil]; <br/>[mutableDic setObject:@"89" forKey:@"num"];<br/>NSLog(@"mutableDic4 = %@“,mutableDic);<br/>控制台打印是: A: name = lisi;num = 89 B: age = 20;name = lisi;num = 89 C: age = 20;name = lisi D: age = 20
1