How HashMap implemented in java? how it internally works when
values are added or searched from hashMap?What is the
difference betweenthe implementation of hashmap and Linked
Hashmap?

Answers were Sorted based on User's Feedback



How HashMap implemented in java? how it internally works when values are added or searched from ha..

Answer / amar

The Only difference is In Hashmap There is no guarantee while
Iterating the elements comes like how you insert.
But in LinkedHashMap the elements occurs that how you insert

Is This Answer Correct ?    10 Yes 1 No

How HashMap implemented in java? how it internally works when values are added or searched from ha..

Answer / aarohi

For your kind information,you can check lot of discussions on java through http://skillgun.com

Is This Answer Correct ?    1 Yes 0 No

How HashMap implemented in java? how it internally works when values are added or searched from ha..

Answer / sridevilaks

http://javarevisited.blogspot.in/2011/02/how-hashmap-works-
in-java.html

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is an interoperable application in java ?

0 Answers   HCL,


What are the java ide's? Explain

0 Answers  


Explain the difference between map and flatmap stream operation?

0 Answers  


what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread

0 Answers  


What is map in java?

0 Answers  






What is run time allocation?

0 Answers   Fidelity,


What does the “static” keyword mean? Can you override private or static method in java?

0 Answers  


Can we inherit a class with private constructor?

0 Answers  


What happens if main method is not static?

0 Answers  


What methods are used in Servlet?Applet communication?

0 Answers   Satyam,


what is the difference between HashMap and Hashtable

17 Answers   Value Labs, Virtusa,


When do I need to use reflection feature in java?

0 Answers  


Categories