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 / .t.v.harish

Connection is an interface from java.sql package, for which
getConnection(_) was return an anonymous inner class object
of the Connection interface.

Note:- Anonymous inner class is a nameless inner class,
which can be sued to provide an implementation either for
the interfaces or for abstract classes.

T.V.HARISH

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we close database connections in java?

1194


java based application for hospital management

3879


How can you make a connection?

1034


What is 2 phase commit?

1251


What is in term of jdbc a datasource?

962


What is jdbc dialect?

977


Explain creation of statement object with connection method create method with help of an example.

1026


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

1041


What is sqlwarning?

1059


What are the types of jdbc drivers that exist?

1067


What is the role of jdbc drivermanager class?

1121


How does jdbc work?

924


What is a jdbc url?

945


What is metadata in java programming?

1090


How many packages are available in jdbc api?

1005