Multiple choice

Which of the following methods is present in the Result set interface in java database programming?

  1. moveToCurrentRow()

  2. moveToNextRow()

  3. moveToPreviousRow()

  4. moveToFirstRow()

  5. moveToLastRow()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This is the correct choice because moveToCurrentRow() method is present in ResultSet interface. This method moves the cursor to the remembered cursor position, usually the current row. So, this is the correct choice.