Multiple choice

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

  1. isCloseOnInsertion()

  2. isCloseOnCompletion()

  3. isCloseOnDeletion()

  4. isCloseAfterUpdate()

  5. isCloseAfterInsertion()

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

isCloseOnCompletion() method is present in the Statement interface. This method returns a value indicating whether this Statement will be closed when all its dependent result sets are closed. So, this answer is true.