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 are types of jdbc drivers?

1037


What are the jdbc api components?

1206


Explain about DSN?

1029


How MS-Access DB can be accessed over a network, using JDBC API?

2473


What are the differences between stored procedure and functions?

1077


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1068


What is the full form of jdbc?

1091


What is jdbc servlet?

1025


What is JDBC API and when do we use it?

1089


What is jdbc in java?

987


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

1124


What are the advantages of database connection pooling?

964


What are devices?

1025


What are the different types of statements in jdbc?

966


Why resultset is used in java?

988