isLast()
Syntax:
boolean isLast() throws SQLException
Description:
Retrieves whether the cursor is on the last row of this ResultSet
object.
Returns:
true if the cursor is on the last row; false otherwise
Throws:
SQLException - if a database access error occurs or this method is called on a closed result set
Reference:
For more information, reference JDBC documentation for: ResultSet.isLast()