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 is jdbc used?
What is encrypted connection?
What is new in JDBC 2.0?
What are the steps involved in establishing a connection using jdbc in java?
What does executeupdate return in jdbc?
How can we retrieve the file in the oracle database?
How does jdbc connect to database?
What is the full form of jdbc?
What is the meaning of batch updates?
How can we execute stored procedures using callablestatement?
Name the new features added in jdbc 4.0.
Is jdbc faster than odbc?
What do you mean by odbc?
What are the different types of statements? How we can you use preparedstatement.
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.