preparedstatement p= new preparedstatement
is it possible ?
Answer Posted / sivam
No. Because PreparedStatement is an interface. we can not
create direct object instance in this interface, but we can
create reference.
ex:
PreparedStatement pst=con.PrpareStatement("Query");
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
What is execute in java?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What is the different between ResultSet and RowSet?
What is the difference between jdbc and jndi?
How does jdbc work?
Why would you use setautocommit(false) in jdbc?
What is resultsetmetadata?
Why isn't the java.sql.DriverManager class being found?
What is ODBC and JDBC? How do you connect the Database?
What is the limitation of PreparedStatement and how to overcome it?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
What is odbc and jdbc drivers?
What does jdbc do?
How can we move the cursor in a scrollable result set?
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?