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
What is array sorting in java?
What is the difference between yielding and sleeping in java programming?
What technique is carried out to find out if a particular string is empty?
What is the major difference between linkedlist and arraylist?
In case of inheritance what is the execution order of constructor and destructor?
how can you catch multiple exceptions in java?
What is the difference between final, finally and finalize() in java?
How do you write a conditional statement?
What are structs in java?
What is the purpose of skeleton and stub?
Explain about doubly linked list
how are methods defined?
What is the use of hashmap in java?
What is the difference between Grid and Gridbaglayout?
What is the main functionality of the remote reference layer?