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 new in JDBC 2.0?
What is the use of statement in jdbc?
Why do you use a data source object for a connection?
How can I retrieve a String or other object type without creating a new object each time?
Give an example for getXXX method?
Differentiate between type_scroll_insensitive and type_scroll_sensitive.
What are the higher level apis under development on top of jdbc currently?
What is a jdbc url?
What is the purpose of the jdbc resultset interface?
What driver should I use for scalable Oracle JDBC applications?
Is jdbctemplate thread safe?
What are the steps to connect to the database in java?
How are jdbc statements used?
How to check jdbc connection in java?
Is java a database?