HashMap與HashTable的區別

HashMap與HashTable的區別 一,不同點: 1.實現的接口繼承的類不同 hashmap:繼承AbstractMap類,實現Map接口 extends AbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable hashtable:繼承Dictionary類,實現Map接口 extends Dictionary<K,
相關文章
相關標籤/搜索