Course contentsShow
Java
Lesson 1284 of 2,87029. Iterators and IterablePro lesson

hasPrevious and previous Methods

Traversing Lists backward using hasPrevious() to check availability and previous() to retrieve elements.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.