preparedstatement p= new preparedstatement
is it possible ?
Answer Posted / sivam
No. Because PreparedStatement is an interface. we can not
create direct object instance in this interface, but we can
create reference.
ex:
PreparedStatement pst=con.PrpareStatement("Query");
Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Why did my jdbc code throw a rollback sqlexception?
How does jdbc work?
How to update a resultset programmatically?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
How many jdbc driver types are there?
What are the common jdbc exceptions?
What is the fastest type of JDBC driver?
What do you mean by batch processing in jdbc?
What is a jdbctemplate?
How do we call a stored procedure from jdbc?
How to move the cursor in scrollable resultset ?
Is java a database?
Explain about multiple implementations and drive manager?
What are the different types of drivers under jdbc?
What is the use of getGeneratedKeys() method in Statement?