This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use hasNext() to test if more elements remain before calling next().
You've completed the free preview. Subscribe to unlock every lesson in every course.