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
What are the differences between resultset and rowset?
What is JDBC API and when do we use it?
Why do we need a jdbcrowset like wrapper around resultset?
What is ODBC and JDBC? How do you connect the Database?
What is sqlwarning and discuss the procedure of retrieving warnings?
What class.forname does, while loading the drivers?
What are the differences between setmaxrows(int) and setfetchsize(int)?
How does a file store compare with a jdbc store?
Which interface handles transaction management in jdbc?
Where is mysql jdbc driver located?
please tell me the name and url path for type-4 driver ?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
What is database deadlock ? How can we avoid them?
What is a jdbc driver and how many jdbc drivers are available?
What do you understand by DDL and DML statements?