• 2022-06-19 问题

    向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

  • 2022-06-16 问题

    NSMutableDictionary *mutableDic = &#91;NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",&#91;NSNumber numberWithInt:20&#93;,@"age", nil&#93;; <br/>&#91;mutableDic setObject:@"89" forKey:@"num"&#93;;<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 = &#91;NSMutableDictionary dictionaryWithObjectsAndKeys:@"lisi",@"name",&#91;NSNumber numberWithInt:20&#93;,@"age", nil&#93;; <br/>&#91;mutableDic setObject:@"89" forKey:@"num"&#93;;<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