ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Difference between HashMap and HashTable?

The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls. (HashMap allows null values as key and value whereas Hashtable doesnt allow). HashMap does not guarantee that the order of the map will remain constant over time. HashMap is non synchronized and Hashtable is synchronized.

Related Posts Plugin for WordPress, Blogger...
Flag Counter