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?
Answer Posted / 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 |
Post New Answer View All Answers
How do you convert an int to a double in java?
What's the purpose of using break in each case of switch statement?
How many types of gc are there in java?
What is the difference between math floor and math round?
What does mean in regex?
Why a dead thread occurs?
How do you create a first line indent?
What is string pool?
Define Multiprogramming and Multiprocessing in java.
When arithmeticexception is thrown?
Why deletion in linkedlist is fast than arraylist?
What does the “static” keyword mean?
What is method overloading in JAVA? Why is it not present in C ?
What is difference between char array and string?
How many types of assembly languages are there?