Iterator in the HashMap is fail-safe means what?
Answer Posted / deepak divvela
i know this thing only,please ignore if it is wrong.
that is hashmap will have only key/value pair.
but iterator will not get key/value pairs at a time.
so for that reason hashmap is fails.
Is This Answer Correct ? | 0 Yes | 21 No |
Post New Answer View All Answers
Why can't you declare a class as protected?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Explain the importance of thread scheduler in java?
What is the difference between exception and error in java?
Can we use return in constructor?
Why java strings are immutable in nature?
Why is string buffer better than string ?
How can we make sure main() is the last thread to finish in java program?
What is the difference between conversation & casting?
What is meant by 'Class access modifiers'?
What is args length in java?
How does arraylist size increase in java?
What is boolean example?
How to create a base64 decoder in java8?
Can you instantiate the math class?