+ 2

What is Difference b/w Fail-fast iterator and fail safe iterator?

1st Apr 2021, 3:36 AM
Ashwin Raj
Ashwin Raj - avatar
2 Answers
0
Ashwin Raj The Major difference between Fail Fast and Fail Safe iterator is that the Fail Safe does not throw any ConcurrentModificationException in modifying the object during the iteration process, contrary to fail fast, which throws an exception in such scenarios
1st Apr 2021, 9:39 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar