單項選擇題

Collection中添加元素的方法是?()

A.add(Ee)
B.remove(Objecto)
C.containsAll(Collection<?>c)
D.addAll(Collection<?extendsE>c)

微信掃碼免費搜題