What is HashMap and Map?

Map is Interface and Hashmap is class that implements that and its not serialized HashMap is non serialized and Hashtable is serialized.

Showing Answers 1 - 2 of 2 Answers


  • Mar 31st, 2007

An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value
This implementation provides all of the optional map operations, and permits null values and the null key
map implementations, like the TreeMap class, make specific guarantees as to their order; others, like the HashMap class, do not.

  Was this answer useful?  Yes


  • Jul 23rd, 2014

HashMap works on the principle of hashing. In order to understand the working of HashMap one has to understand hashing.

Below link can be useful to find out the working of HashMap


  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.

Answer Question

Click here to Login / Register your free account

Send   Reset


Related Answered Questions


Related Open Questions