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

Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

512


What is sqlwarning?

540


Which interface is responsible for transaction management in jdbc?

451


What is drivermanager in jdbc?

536


What is java soft framework?

542






What is jdbc and why is it required?

458


How can I determine the isolation levels supported by my DBMS?

513


What is jdbc resultsetmetadata interface?

521


What are database warnings in jdbc and how can we handle database warnings in jdbc?

604


What are the common tasks of JDBC?

560


Is jdbc open source?

448


What are the different types of resultset?

541


What are the standard isolation levels defined by JDBC?

567


How can we retrieve data from the resultset?

545


What are the functions of the jdbc connection interface?

498