Which of the following is advantage of using PreparedStatement in Java?
(a) Slow performance
(b) Encourages SQL injection
(c) Prevents SQL injection
(d) More memory usage
I got this question by my school principal while I was bunking the class.
My question is taken from JDBC in division Java Beans & JDBC of Java