Donovan Data Systems Interview Question: What is the difference betwee... | Glassdoor

Interview Question

Technical Manager Interview New York, NY

What is the difference between HashMap and Hashtable?


Interview Answer

1 Answer


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.