GeekInterview.com
Series: Subject: Topic:
Question: 36 of 46

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.
Asked by: Interview Candidate | Asked on: Dec 18th, 2003
Showing Answers 1 - 1 of 1 Answers
svsathya

Answered On : 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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.