Difference between HashMap and HashTable?

This question is related to Oracle Interview

Showing Answers 1 - 1 of 1 Answers

Lavanya

  • Apr 14th, 2005
 

HashMap is unsynchronized whereas HashTable can be synchronized. 
 
HashMap allows null value as key, but HashTable does not permit nulls. 
 
HashMap does not guarantee that the order of the map will remain constant overtime.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions