put 重复的key时,会用新的value替换旧的value,相当于修改; 比如HashMap hm = new HashMap(); hm.put("KK","AA"); hm.put("KK","BB"); hm.get("KK")得到的值是“BB”, ...
確定! 回上一頁