preparedstatement p= new preparedstatement
is it possible ?
Answer Posted / satya veni
No.Interfaces can not be instantiated.
PreparedStatement ps=con.PreparedStatement("query");
| Is This Answer Correct ? | 27 Yes | 2 No |
Post New Answer View All Answers
How do I insert an image file (or other raw data) into a database?
What is jdbc odbc in java?
Why do we use jdbc?
What is jdbc url for mysql?
Is it possible to connect to multiple databases simultaneously?
What is jdbc and jpa?
Are all the required JDBC drivers to establish connectivity to my database part of the JDK?
What driver should I use for scalable Oracle JDBC applications?
What is the execute method in java?
What is setautocommit in jdbc?
Give an example of code used for setting up connection with a driver.
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
What is the purpose of jdbc resultset interface?
What is preparedstatement in jdbc?
How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?