Database Java Tutorial

The result set maintains a reference to the current row called the cursor.
The cursor is positioned before the first row when a result set is created.
When a result set's next() method is called, the cursor moves to the first row of the resultset, and that row becomes the current row.