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
How can you create jdbc statements?
When does the result for an sql statement return null?
How are jdbc statements used?
Where is jdbc url mysql?
Write a program JDBCcode forfetching student database with SQL.
What is statement and resultset in jdbc?
How can you retrieve data from the resultset using jdbc?
What is a merge field?
What is jdbc class forname?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
Is jpa faster than jdbc?
What is jsp and jdbc?
How will you perform truncation using JDBC?
Where can I find info, frameworks and example source for writing a JDBC driver?
What is benefit of using preparedstatement in java?