Multiple choice

Which method executes an SQL INSERT, UPDATE or DELETE Statement?

  1. executeQuery()

  2. executeUpdate()

  3. execute()

  4. none of these

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

executeUpdate() method executes an SQL INSERT, UPDATE or DELETE statement.