0 votes
in JAVA by
The advantage of using the PreparedStatement in Java is:

1) More memory usage

2) Prevents SQL injection

3) Encourages SQL injection

4) Slow performance

1 Answer

0 votes
by

2) Prevents SQL injection

...