5 years ago in JDBC

Which type of Statement can execute parameterized queries?

[A] PreparedStatement
[B] ParameterizedStatement
[C] ParameterizedStatement and CallableStatement
[D] All kinds of Statements
Loading...
Next Question

Overall Stats

Attempted 531
Correct 160
Incorrect 121
Viewed 250

Answers

Guest
Guest
Sailaja
Sailaja - 6 days ago

Sailaja from Surat, India is saying ParameterizedStatement is correct answer

komal badhe
komal badhe - 3 weeks ago

komal badhe from Pune, India is saying ParameterizedStatement is correct answer

Zo Go
Zo Go - 4 weeks ago

Zo Go from Casablanca, Morocco is saying PreparedStatement is correct answer

Aashi Garg
Aashi Garg - 1 month ago

Aashi Garg from Greater Noida, India is saying All kinds of Statements is correct answer

arunesh
arunesh - 2 months ago

arunesh is saying PreparedStatement is correct answer

Related Questions

JDBC stands for:

  • [A] Java Database Connectivity
  • [B] Java Database Components
  • [C] Java Database Control
  • [D] None of the above is correct.

What happens if you call deleteRow() on a ResultSet object?

  • [A] The row you are positioned on is deleted from the ResultSet, but not from the database.
  • [B] The row you are positioned on is deleted from the ResultSet and from the database
  • [C] The result depends on whether the property synchronizeWithDataSource is set to true or false
  • [D] You will get a compile error: the method does not exist because you can not delete rows from a ResultSet

Which type of driver provides JDBC access via one or more ODBC drivers?

  • [A] Type 1 driver
  • [B] Type 2 driver
  • [C] Type 3 driver
  • [D] Type 4 driver