This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use remove() to safely delete the last element returned by next() from the collection.
You've completed the free preview. Subscribe to unlock every lesson in every course.