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
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 |
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 |
Answer / sridevilaks
http://javarevisited.blogspot.in/2011/02/how-hashmap-works-
in-java.html
| Is This Answer Correct ? | 1 Yes | 5 No |
What is an immutable object?
What is the difference between interpreter and compiling ?
What class allows you to read objects directly from a stream?
What is an array length?
What is the use of arraylist class in java?
How do you identify independent and dependent variables?
What is the difference between the direct buffer and non-direct buffer in java?
How to add and remove nodes in Jtree?
Can we define static methods inside interface?
Difference between class#getinstance() and new operator ?
How to perform linear search in java?
What are the different types of inheritance in java?