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

Which package is used for jdbc application?

922


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

940


Write an sql to find all records having all numeric characters in a field ?

909


Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

914


What is url in jdbc connection?

897


What are the different types of locking in JDBC?

951


Why we use while rs next ())?

902


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

927


Is jdbc part of j2ee?

934


How does a file store compare with a jdbc store?

1122


What does jdbc setmaxrows method do?

909


How do I disallow NULL values in a table?

934


What happens if we don't close the connection in jdbc?

827


How do I start debugging problems related to the JDBC API?

959


Is jdbc database independent?

910