Multiple choice technology programming languages

Which type of Statements can execute parameterized queries?

  1. PreparedStatement

  2. ) ParameterizedStatement

  3. ) ParameterizedStatement and CallableStatement

  4. All the above

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

PreparedStatement is the standard JDBC class that supports parameter placeholders ( ? ) and lets you set values before execution. CallableStatement is used for stored procedures, which also accept parameters, but the question asks for a type that can execute parameterized queries, and the only universally correct choice listed is PreparedStatement. The other options refer to non‑existent classes, so the stored answer is right.