中国大学MOOC: HashMap中的put()方法参数是()
put(key,value)
举一反三
内容
- 0
HashMap中获得映射的方法是( )。 A: get() B: put() C: remove() D: add()
- 1
HashMap中添加映射的方法是? A: get() B: put() C: remove() D: add()
- 2
HashMap中移除映射的方法是( ) 。 A: get() B: put() C: remove() D: clear()
- 3
HashMap在Map.Entry静态内部类实现中存储key-value对。HashMap使用哈希算法,在put和get方法中,它使用hashCode()和equals()方法。 A: 对 B: 错
- 4
中国大学MOOC: Hashtable类大体相当于HashMap。