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
Which package is used for jdbc application?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
Write an sql to find all records having all numeric characters in a field ?
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?
What is url in jdbc connection?
What are the different types of locking in JDBC?
Why we use while rs next ())?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
Is jdbc part of j2ee?
How does a file store compare with a jdbc store?
What does jdbc setmaxrows method do?
How do I disallow NULL values in a table?
What happens if we don't close the connection in jdbc?
How do I start debugging problems related to the JDBC API?
Is jdbc database independent?