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 |
Can inner class be public in java?
Can we convert integer to string in java?
what are three ways in which a thread can enter the waiting state? : Java thread
What error occurs if a try-catch-finally statement sequence does not have a catch clause?
what is difference between front controller and action servlet?
Can constructor be static or final?
What are 3 data types?
What is the base class of all exception classes?
What is the byte order of byte buffer?
Differences between traditional programming language and object oriented programming language?
Is it possible to write a regular expression to check if string is a number?
can we create object for static class in java
14 Answers IAP Company, IBM, Marlabs, mPortal, TCS,