單項選擇題

向HashMap集合中存放數(shù)據(jù)使用的方法是()

A.add(E)
B.add(int,E)
C.set(int,E)
D.put(K,V)

微信掃碼免費搜題