Difference between HashTable and HashMap
The HashTable is almost equal to HashMap except following points.
1. HashTable is synchronized, while HashMap is not.
2. HashTable doesn’t permit null as key while in HashMap it is allowed.
3. HashTable guarantee that order of the table will remain constant over time while in HashMap it is not.
September 27, 2008 | Filed Under Java
Related Post
Comments
Leave a Reply