Java Interview Questions
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:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment