单项选择题

往Map集合中添加元素,可以通过以下哪个方法?()

A.put(K key,V value)
B.add(K key,V value)
C.keySet(K key,V value)
D.containsKey(Object key)

热门 试题