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

How to create Connection interface object because it is
Interface , Interface is not instansiated?

Answer Posted / mohd gousuddin

Connection is an interface which can not be instantiated but
can be referenced. The DriverManager Class is a Factory
class which contains a factory method called
getConnection(). this method creates and returns connection
object, that object can be assigned to Connection interface
referance variable.

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between setmaxrows(int) and setfetchsize(int)?

986


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

919


Explain in detail about JDBC and its general features?

903


What is jdbc odbc bridge?

896


What is jdbc thin client in oracle?

847


What is the function of setautocommit?

1147


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

1014


What is two-phase commit in the database?

977


What is jdbc connection class?

843


What is the different between ResultSet and RowSet?

953


What does jdbc do?

956


How can we store the file in the oracle database?

888


What is jdbc and odbc?

879


What are the jdbc statements?

939


What is metadata in programming?

940