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


Please Help Members By Posting Answers For Below Questions

Why can't you declare a class as protected?

603


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

710


Explain the importance of thread scheduler in java?

601


What is the difference between exception and error in java?

495


Can we use return in constructor?

497






Why java strings are immutable in nature?

596


Why is string buffer better than string ?

604


How can we make sure main() is the last thread to finish in java program?

675


What is the difference between conversation & casting?

582


What is meant by 'Class access modifiers'?

559


What is args length in java?

668


How does arraylist size increase in java?

532


What is boolean example?

530


How to create a base64 decoder in java8?

560


Can you instantiate the math class?

604