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
Can this keyword be used to refer static members?
Can we sort arraylist in java?
Difference between serialization and deserialization in java?
Can a class be a super class and a sub-class at the same time? Give example.
Is set ordered?
What is an i/o filter?
Explain the scope or life time of class variables or static variables?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What are static blocks and static initalizers in java ?
What is variable explain with example?
What is the list interface in java programming?
What is class forname used for?
What is the SimpleTimeZone class?
What do you understand by abstract classes?
What are static blocks in java ?