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 exception in java?
What is meant by 'bit masking' in java?
What are the differences between string and stringbuffer?
What is the difference between int and integer in java?
Is nan false?
What is exception hierarchy in java?
Is list thread safe in java?
How to write custom exception in java?
Why parsing is done?
Is integer passed by reference in java?
What are the 6 boolean operators?
What is use of inner class in java?
What are the major advantages of internal iteration over external iteration?
What are class types in java?
How does hashmap work in java ?