Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (C) prevents sql injection

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
200
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
84%
Success Rate