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
What is the execute method in java?
What are the basic exceptions in jdbc?
Which is better jpa or jdbc?
Explain the locking system in jdbc & its types?
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
Which package is used for jdbc application?
Explain the two tier and three tier architecture of jdbc.
How can I get or redirect the log used by DriverManager and JDBC drivers?
What should be done for auto generating primary key id in a table ?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
What is an escape syntax?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
What is JDBC RowSet? What are different types of RowSet?
How many jdbc driver types are there?
What do you understand by DDL and DML statements?