主要區別:執行緒安全性,同步(synchronization),以及速度。 HashMap幾乎可以等價於Hashtable,除了HashMap是非synchronized的,並可以接受null。
確定! 回上一頁