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 does the connection object represents?

1063


What is difference between jdbc and odbc?

1010


How do I find whether a parameter exists in the request object?

916


What is jdbc url for mysql?

1032


What is metadata in programming?

1003


What are the standard isolation levels defined by JDBC?

1130


What is a lock in jdbc?

956


Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

1022


Which package contains jdbc api?

1043


How can I manage special characters when I execute an insert query?

945


How to use JDBC API to call Stored Procedures?

1016


What is correlated subquery?

2325


Why isn't the java.sql.DriverManager class being found?

1000


What is the JDBC?

1083


Why jdbc is used in java?

956