Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is execute in java?

1022


What is the use of setFetchSize() and setMaxRows() methods in Statement?

1041


What is the different between ResultSet and RowSet?

1065


What is the difference between jdbc and jndi?

1064


How does jdbc work?

924


Why would you use setautocommit(false) in jdbc?

1266


What is resultsetmetadata?

957


Why isn't the java.sql.DriverManager class being found?

1041


What is ODBC and JDBC? How do you connect the Database?

1087


What is the limitation of PreparedStatement and how to overcome it?

1188


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

1108


What is odbc and jdbc drivers?

1003


What does jdbc do?

1117


How can we move the cursor in a scrollable result set?

1001


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

1065