What is meant by HashMap in Java

Showing Answers 1 - 4 of 4 Answers

Srinivasan

  • Dec 29th, 2006
 

HashMap is a class it used to define the data to store and retrive  in the dataStructure model.

  Was this answer useful?  Yes

Ashish Kumar Pathak

  • Dec 29th, 2006
 

HashMap is a data structure which has a key-value mapping. Example: You can have key as country names and Value as the name of the capital of that country.

  Was this answer useful?  Yes

Thas

  • Jan 9th, 2007
 

well..it was nice answer.

Hasmap is class in Collection frame work. It is a one of the data structure class such as Linklist. The speciality of the Hasmap is, search time is less as compare to other datastructure, and it has a structure such as Key and value. For example student number can be used as key and student's grade can be used as value for that key.

I hope that i answered right.

  Was this answer useful?  Yes

reddyvj

  • Feb 3rd, 2007
 

Hash Mapping is a special DataStructure, it is used for mapping the objects in memory locations.i.e objects store in stack memory and references to pointing objects are in heap for this we use a special data structure "HashMapping"

  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