difference between hashmap and hash


Difference between HashMap and Hash table

HashMap:

It allow us to have null values and also one null key

It is Unsynchronized.

Iterator in HashMap is Fail-Safe.

Hash Table:

It doesn't allow null value as key and value.

It isn't synchronized.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: difference between hashmap and hash
Reference No:- TGS0355111

Expected delivery within 24 Hours