單項選擇題

如果我們想要清空map集合中的所有的元素,可以采用()方法?

A.put(key,value)
B.putAll(m)
C.clear()
D.entrySet()

微信掃碼免費搜題