InterviewSolution
Saved Bookmarks
| 1. |
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 |
|
Answer» Correct choice is (c) Prevents SQL injection Easiest explanation: PreparedStatement in Java improves performance and also prevents from SQL injection. |
|