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

What is the use of jdbc?

960


Expalin the method of calling a stored procedure from jdbc.

930


How data can be inserted into long row column of database?

2124


Explain about Join?

978


What are types of resultset?

958


How to rollback a JDBC transaction?

1049


What is sqlwarning and discuss the procedure of retrieving warnings?

982


What is ojdbc?

913


How does jdbc work?

851


What is jdbc connection interface?

956


How many categories of jdbc drivers are there?

883


How can I determine where a given table is referenced via foreign keys?

969


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

951


What are the types of statements in jdbc?

944


What do you mean by batch processing in jdbc?

986