Difference between HashMap and HashTable

Both provide key-value access to data. The Hashtable is one of the original collection classes in Java. HashMap is part of the new Collections Framework, added with Java 2, v1.2. The key difference between the two is that access to the Hashtable is synchronized on the table while access to the HashMap isn't. You can add it, but it isn't there by default.

 
Visit Site:
Difference between HashMap and HashTable
Version:
1.0.0 
Filed in:
Java / Tutorials & Tips / General Java / Frequently Asked Questions
Platforms:
LinuxMicrosoft WindowsSun Solaris 
Databases:
No Database 
Date Added:
May 24, 2007 
Last Updated:
May 24, 2007 

License and Pricing Information

Freeware

Price: $0.00 USD

Publisher site visits: 387
Average rating: 2.83
Total ratings: 6

Be the first to review this listing!

Publisher Info

Author:
Mukesh Ranjan 
Other listings by this publisher

Share this Listing