preparedstatement p= new preparedstatement
is it possible ?
Answer Posted / t.l.n.prasad
no becoz PraparedStatement is an interface we can't
instantiate direcly but we can instantiate like this
PreparedStatement ps=con.PreparedStatement("Query");
where "con" is an Object of Connection interface
ie
Connection con=DriverManager.getConnection();
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Why we use while rs next ())?
What is jdbc odbc bridge?
How to set the attribute concurrency in resultset?
What is metadata in jdbc?
What is jdbc architecture in java?
Explain Basic Steps in Writing a Java Program Using Jdbc?
Why “no suitable driver” error occurs?
Write an sql to find all records having all numeric characters in a field ?
Which Java and java.sql data types map to my specific database types?
Is uri the same as url?
What is a jdbc connection?
What are the exceptions in jdbc?
Why are we using blob datatypes in jdbc?
What is jdbc and odbc in java?
What is the JDBC?