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


Please Help Members By Posting Answers For Below Questions

What are clob and blob data types in jdbc?

569


What is xe in oracle jdbc url?

548


Does the JDBC-ODBC Bridge work with Microsoft J++?

1873


What are the different types of interfaces in the api component?

525


Discuss the procedure of retrieving warnings?

561






What is a merge field?

509


What is jdbc odbc connection?

511


What is the JDBC syntax for using a literal or variable in a standard Statement?

566


What is getconnection method in java?

510


What is the purpose of the jdbc resultset interface?

520


What is an encrypted internet connection?

503


Is jpa faster than jdbc?

509


How can you make the connection using jdbc?

565


What is jdbc type?

517


How can we retrieve data from the resultset?

553