• 2022-06-07 问题

    一个Map类型对象map返回一个迭代器的方法是()。 A: map.iterator() B: map.getIterator() C: map.get() D: map.entrySet().iterator()

    一个Map类型对象map返回一个迭代器的方法是()。 A: map.iterator() B: map.getIterator() C: map.get() D: map.entrySet().iterator()

  • 2022-06-14 问题

    应用程序的main方法中有以下语句,则输出的结果是 ( )。 HashMap map=new HashMap(); map.put("100","aaa"); map.put("200","bbb"); map.put("300","ccc"); System.out.println(map.get("300").toString()+ map.get("200").toString() + map.get("100").toString());

    应用程序的main方法中有以下语句,则输出的结果是 ( )。 HashMap map=new HashMap(); map.put("100","aaa"); map.put("200","bbb"); map.put("300","ccc"); System.out.println(map.get("300").toString()+ map.get("200").toString() + map.get("100").toString());

  • 2022-06-14 问题

    中国大学MOOC: 阅读以下代码,选择正确的选项( )。Hashtable map = new HashMap(); map.put(“name”, “张三”): map.add(“sex”,”男”);System.out.println(map.get(“name”));

    中国大学MOOC: 阅读以下代码,选择正确的选项( )。Hashtable map = new HashMap(); map.put(“name”, “张三”): map.add(“sex”,”男”);System.out.println(map.get(“name”));

  • 2021-04-14 问题

    How can you get clients from Google Map?

    How can you get clients from Google Map?

  • 2022-06-14 问题

    请看一下代码,《插入代码》处应填入的代码是( )Map map=new HashMap(); map.put(“tom”,123.6); map.put(“jim”,234.5); map.put(“terry”,45.3);《插入代码》 其中《插入代码》处要实现的功能是把key为“jim”的value值在原有数字的基础上添加100。 A: map.put(“jim”,map.get(“jim”)+100); B: map.set(“jim”,map.get(“jim”)+100); C: map.put(“jim”,234.5); D: map.set(“jim”,234.5);

    请看一下代码,《插入代码》处应填入的代码是( )Map map=new HashMap(); map.put(“tom”,123.6); map.put(“jim”,234.5); map.put(“terry”,45.3);《插入代码》 其中《插入代码》处要实现的功能是把key为“jim”的value值在原有数字的基础上添加100。 A: map.put(“jim”,map.get(“jim”)+100); B: map.set(“jim”,map.get(“jim”)+100); C: map.put(“jim”,234.5); D: map.set(“jim”,234.5);

  • 2022-06-14 问题

    给定如下Java 程序代码片段,编译运行这段代码,结果是( )HashMap map = new HashMap();map.put("name",null);map.put("name","Jack"); System.out.println(map.get("name")); A: null B: Jack C: nullJack D: 运行时出现异常

    给定如下Java 程序代码片段,编译运行这段代码,结果是( )HashMap map = new HashMap();map.put("name",null);map.put("name","Jack"); System.out.println(map.get("name")); A: null B: Jack C: nullJack D: 运行时出现异常

  • 2022-06-07 问题

    In Tokyo, the best way for you to find out directions is to? A: ask a police officer for help B: buy a map in a bookstore C: go into someone’s house and ask D: get someone to draw a map for you

    In Tokyo, the best way for you to find out directions is to? A: ask a police officer for help B: buy a map in a bookstore C: go into someone’s house and ask D: get someone to draw a map for you

  • 2022-06-07 问题

    下列关于Map集合的使用说法错误的一项是()。 A: Map用put(key,value)方法来添加一个值。 B: Map用get(key)方法获取与key键相关联的值。 C: Map接口的keySet()方法返回一个有序集合。 D: Map接口中的entrySet()方法返回了一个集合对象。

    下列关于Map集合的使用说法错误的一项是()。 A: Map用put(key,value)方法来添加一个值。 B: Map用get(key)方法获取与key键相关联的值。 C: Map接口的keySet()方法返回一个有序集合。 D: Map接口中的entrySet()方法返回了一个集合对象。

  • 2022-06-08 问题

    Map容器中获取键值对集合的方法是()。 A: entrySet() B: keySet() C: values() D: get(key)

    Map容器中获取键值对集合的方法是()。 A: entrySet() B: keySet() C: values() D: get(key)

  • 2022-06-18 问题

    Speaker A: Where can I find a map of the university campusSpeaker B: ______ A: Yeah, with a map you won't get lost on such a big campus. B: Sorry, we don't sell maps and things like that here. C: Have you tried the information center D: OK, let me tell you how to get the university campus.

    Speaker A: Where can I find a map of the university campusSpeaker B: ______ A: Yeah, with a map you won't get lost on such a big campus. B: Sorry, we don't sell maps and things like that here. C: Have you tried the information center D: OK, let me tell you how to get the university campus.

  • 1 2 3 4 5 6 7 8 9 10