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
What happens if we don't close the connection in jdbc?
What is jndi lookup?
Can I get a null resultset?
What is while rs next ())?
What is ODBC and JDBC? How do you connect the Database?
Where is ojdbc14 jar located?
Which type of driver provides jdbc access via one or more odbc drivers?
What is two-phase commit in the database?
How can we store and retrieve images from the database?
How do I find whether a parameter exists in the request object?
Why did my jdbc code throw a rollback sqlexception?
What is correlated subquery?
Is java a database?
How can I write to the log used by DriverManager and JDBC drivers?
How many jdbc driver types are there?