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...

Statement, PrepareStatement and Callable all these are
interfaces. Thought it is a interface how come we are
creating objects and calling methods("preparestatement()")
in it. In which class this method is defined.
Please let me know. Thanks in advance.

example:
PreparedStatement pre = con.prepareStatement(
"UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");


Answer Posted / brahma

Driver vendor provides implementation classes for these
interfaces.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

1221


What is xe in oracle jdbc url?

1092


What are temp tables ?

987


How can I get information about foreign keys used in a table?

971


Why would you use setautocommit(false) in jdbc?

1213


How do I insert an image file (or other raw data) into a database?

971


What does adapter class provide?

952


What is the JDBC?

1090


What is jdbc and odbc in java?

920


Describe how the jdbc application works.

1032


What is JDBC DataSource and what are it’s benefits?

1224


How to connect html page to database using jdbc?

901


What is 2 phase commit?

1189


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

938


What does jdbc stand for?

944