wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes HashMap vs. Hashtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "HashMap vs. Hashtable" Watch "HashMap vs. Hashtable" New topic
Author

HashMap vs. Hashtable

paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

What's the dif?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20494
    ∞

found the answer.
HashMap is not synchronized, Hashtable is.
HashMap allows nulls, Hashtable doesn't.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HashMap vs. Hashtable