Multiple choice

The _________ method executes a simple query and returns a single ResultSet object.

  1. executeUpdate()

  2. execute()

  3. executeQuery()

  4. none of these

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

executeQuery() method executes a simple query and returns a single ResultSet object.