What is the basic difference between Statement interface and PreparedStatement interface?

1.7 What is the basic difference between Statement interface and PreparedStatement interface?
A) Statement interface is used for static SQL, PreparedStatement interface is used for dynamic SQL
B) There is no difference between Statement interface and PreparedStatement interface.
C) Statement interface is used for dynamic SQL , PreparedStatement interface is used for Static SQL
D) None of the above

Leave a Reply