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 a function in java?
What is a key in java?
How can constructor chaining be done using this keyword?
How do you do exponents in java?
What is pangram in java?
What is == in java?
How do you use equal in java?
According to java operator precedence, which operator is considered to be with highest precedence?
What is unmodifiable collection in java?
Are arrays primitive data types?
Is java a security risk?
What are the uses of java?
Can constructor return value?
What is synchronization and why is it important in java programming?
Which collection is thread safe in java?