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 do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
When do we get java.sql.SQLException: No suitable driver found?
Explain about Join?
What does setautocommit do?
What is benefit of using preparedstatement in java?
What is JDBC ResultSet?
What is jdbc odbc?
Which type of driver is unique in jdbc?
Is it possible to connect to multiple databases simultaneously?
What does executeupdate return in jdbc?
Where can I find ojdbc14 jar file?
What is the difference between setmaxrows(int) and setfetchsize(int)?
List the common jdbc exceptions ?