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 publisher site: Difference between HashMap and HashTableListing Details
- Version:
- 1.0.0
- Filed in:
-
Scripts / Java / Tutorials & Tips / General Java / Frequently Asked Questions
- Submitted on:
- Last Updated:
- May 24, 2007
- Publisher:
- Mukesh Ranjan Other listings by this publisher
License & Pricing Information
LICENSE #1
- License Type:
- Freeware
- Price:
- $0.00 USD
- Additional Info:
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for Difference between HashMap and HashTable