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
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
What happens if we don't close the connection in jdbc?
If you are truncated using JDBC, how can you that how much data is truncated?
What is jdbc odbc bridge?
Is jdbc object oriented?
Compare jdbc and odbc and how is jdbc required in this context.
How do you determine the sensitivity of the ResultSet object?
What is jdbc architecture?
What are the different types of drivers under jdbc?
What is the full form of jdbc?
What is getconnection method in java?
How can you create jdbc statements?
What are the different types of locking in JDBC?
Why would you use setautocommit(false) in jdbc?
What is JDBC Batch Processing and what are it’s benefits?