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

How can you create jdbc statements?

970


When does the result for an sql statement return null?

921


How are jdbc statements used?

939


Where is jdbc url mysql?

988


Write a program JDBCcode forfetching student database with SQL.

1119


What is statement and resultset in jdbc?

944


How can you retrieve data from the resultset using jdbc?

1069


What is a merge field?

931


What is jdbc class forname?

967


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

967


Is jpa faster than jdbc?

885


What is jsp and jdbc?

914


How will you perform truncation using JDBC?

1003


Where can I find info, frameworks and example source for writing a JDBC driver?

931


What is benefit of using preparedstatement in java?

921