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 ?");


Answers were Sorted based on User's Feedback



Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how c..

Answer / brahma

Driver vendor provides implementation classes for these
interfaces.

for example: oracle
all the methods implemented in OracleStatement class.

Is This Answer Correct ?    2 Yes 0 No

Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how c..

Answer / brahma

Driver vendor provides implementation classes for these
interfaces.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JDBC Interview Questions

What are database warnings in jdbc and how can we handle database warnings in jdbc?

0 Answers  


Explain the various types of locking system in jdbc?

0 Answers  


What is Normalization?

4 Answers   Accenture, Atos Origin,


What are four types of JDBC driver?

0 Answers  


Can I use JDBC to execute non-standard features that my DBMS provides?

0 Answers  


Explain the two tier and three tier architecture of jdbc.

0 Answers  


Explain the process of creating tables using NetBeans IDE?

0 Answers  


What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.

0 Answers  


write down exceptions those appear in java programs when u write JDBC Programs?

2 Answers  


What is database deadlock ?

0 Answers  


What are the differences between statement and preparedstatement interface?

0 Answers  


What are the different types of 2 tier and 3 tier architecture ?

2 Answers   Honeywell,


Categories