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
Result set’s index starts with 0 or 1?
What is db client?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
What is jdbc and jpa?
What is an encrypted internet connection?
please tell me the name and url path for type-4 driver ?
What do you mean by metadata and why we are using it?
How we store procedure in oralce for callable statements in jdbc
How do I check in my code whether a maximum limit of database connections have been reached?
Is uri the same as url?
Explain about column name and getter method?
Which is best database for java?
Describe the steps needed to execute a sql query using jdbc.
How do I insert an image file (or other raw data) into a database?
Is jdbc secure?