In JDBC, which method is used to execute a SQL statement?

Practice Questions

1 question
Q1
In JDBC, which method is used to execute a SQL statement?
  1. executeQuery()
  2. runQuery()
  3. executeSQL()
  4. executeStatement()

Questions & Step-by-step Solutions

1 item
Q
Q: In JDBC, which method is used to execute a SQL statement?
Solution: In JDBC, the method used to execute a SQL statement is 'executeQuery()'.
Steps: 5

Related Questions