What is Difference b/w Fail-fast iterator and fail safe iterator? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

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

1st Apr 2021, 3:36 AM
Ashwin Raj
Ashwin Raj - avatar
1 ответ
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