How to create Connection interface object because it is
Interface , Interface is not instansiated?
Answer Posted / kranthikumar.ch
Connection is Interface which cannot be instantiated but
can be referenced.
The DriverManager Class can provide the implementation for
that Connection interface.
Means rather than creating creating an object to
DriverManager Class creating reference to Connection
interface.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Name the types of jdbc drivers.
What is the role of class.forname while loading drivers?
What are the differences between setmaxrows(int) and setfetchsize(int)?
Which database is used with java?
What is data source in java?
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
What is jdbc in dbms?
What are the different types of JDBC drivers?
Why we use jdbc instead of odbc?
How to update a resultset programmatically?
How can I create a custom RowSetMetaData object from scratch?
What are the different types of statements in jdbc?
What is jdbc odbc bridge in java?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?