Multiple choice technology web technology

What is Prepared Statements?

  1. Prepared statement is a precomplied SQL statement

  2. Prepared statement is a complied SQL statement

  3. Both of above

  4. None of the above

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

A Prepared Statement in JDBC is a precompiled SQL statement. Precompilation improves execution performance for repeated queries and provides strong protection against SQL injection.