This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn why iterator.remove() is safe during iteration while collection.remove() causes fail-fast exceptions.
You've completed the free preview. Subscribe to unlock every lesson in every course.