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
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is a jdbc connection string?
Is jdbc a web technology?
Why do we need a jdbcrowset like wrapper around resultset?
How many locking systems are there in jdbc?
What is “dirty read” in JDBC? Which isolation level prevents dirty read?
Is it possible to connect to multiple databases simultaneously?
What are the differences between statement and preparedstatement interface?
Does jdbc use ssl?
How the JDBC application works?
Why should we close database connections in java?
Jdbc-odbc bridge is multi-threaded or not?
Explain the life cycle of jdbc.
What is a rollback in jdbc?
Is odbc an api?