Question:

What is the advantage of PreparedStatement over Statement ?

Answer:

PreparedStatements are precompiled and thus, their performance is much better. Also, PreparedStatement objects can be reused with different input values to their queries.


Keywords:

© 2017 QuizBucket.org