Donovan Data Systems

  www.donovandata.com
  www.donovandata.com

Interview Question

Technical Manager Interview New York, NY

What is the difference between HashMap and Hashtable?

Answer

Interview Answer

1 Answer

0

Stock question every employer seems to ask. To save you the trouble of looking it up, Hashtable is synchronized, HashMap is not, Hashtable doesn't allow nulls, HashMap allows one null key and null objects.

Interview Candidate on May 26, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.