S

Satya • 3.38K Points
Extraordinary

Q. Which method executes SELECT queries?

  • (A) executeUpdate()
  • (B) executeQuery()
  • (C) execute()
  • (D) runQuery()
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Java JDBC
  • Hashtags:

Explanation by: Satya
executeQuery() returns a ResultSet for SELECT statements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.