Friday 15 March 2013

What is the difference between Hashmap and Hashtable?

What is the difference between Hashmap and Hashtable? 
All the methods in HashTable are synchronized whereas HashMap is not thread-safe.

Another big
 difference is that HashMap allows null key and null values whereas HashTable does not permit null key and null values.



Blog Author: Vijay Kumar

Go to: Coding Problem Solutions

No comments: