Friday, January 29, 2016

Difference between HashTable and HashMap

Difference between HashTable and HashMap


1. HashTable is synchronized, whereas HashMap it not synchronized.
2. HashTable does not allow null keys or values. HashMap allows one null key and any number of null vlaues.

No comments:

Post a Comment