File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 20635
    ∞

What's the dif?


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

Joined: Dec 14, 1998
Posts: 20635
    ∞

found the answer.
HashMap is not synchronized, Hashtable is.
HashMap allows nulls, Hashtable doesn't.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HashMap vs. Hashtable