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

How many types of resultset are there in jdbc?

961


What is device controller?

1050


What does the jdbc driver interface do?

986


What is the difference between client and server database cursors?

1161


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

994


What is in term of jdbc a datasource?

912


How to check jdbc driver version in websphere?

1080


Explain the steps in writing a java program using jdbc?

925


What is setautocommit in jdbc?

915


What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?

943


Why prepared statements are faster?

940


What is the use of jdbc?

981


What are the differences between statement and preparedstatement interface?

974


How many types of JDBC Drivers are present and what are they?

1164


What is the JDBC?

1073