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 |
How do you define a parameter?
What is time complexity java?
can we create object for static class in java
14 Answers IAP Company, IBM, Marlabs, mPortal, TCS,
Which method will get invoked first in a stand alone application?
Define the term string pool?
Should a main method be compulsorily declared in all java classes?
Is Java a dying language?
How do you sort a set in java?
what is the difference between String s="hello"; and String s=new String("hello");?
If you are reviewing the code of your team members, what points will you look at, assuming the performance of the application is not so great
What is array command?
How to convert string to byte array and vice versa?