ResultSet.next Method
Selects the first or subsequent row.
Syntax
public boolean next()
Run On
Called
Return Value
Type: boolean
true if the new current row is valid; otherwise false.
Remarks
A ResultSet is initially positioned before its first row. The first call to the next method makes the first row the current row. The second call makes the second row the current row, and so on.