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

Can inner class be public in java?

0 Answers  


Can we convert integer to string in java?

0 Answers  


what are three ways in which a thread can enter the waiting state? : Java thread

0 Answers  


What error occurs if a try-catch-finally statement sequence does not have a catch clause?

4 Answers  


what is difference between front controller and action servlet?

2 Answers  






Can constructor be static or final?

0 Answers  


What are 3 data types?

0 Answers  


What is the base class of all exception classes?

0 Answers  


What is the byte order of byte buffer?

0 Answers  


Differences between traditional programming language and object oriented programming language?

0 Answers  


Is it possible to write a regular expression to check if string is a number?

0 Answers  


can we create object for static class in java

14 Answers   IAP Company, IBM, Marlabs, mPortal, TCS,


Categories