Multiple choice

Which of the following methods in ResultSet interface returns true to indicate whether the current row has had an insertion or not?

  1. isRowInserted()

  2. hasInserted()

  3. isInserted()

  4. rowInserted()

  5. Inserted()

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

rowInserted() method is present in the ResultSet interface and it retrieves whether the current row has had an insertion or not. So, this answer is correct.