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
When do we get java.sql.SQLException: No suitable driver found?
How to set the attribute concurrency in resultset?
How to test jdbc connection to sql server?
Which interface is responsible for transaction management in jdbc?
How does jdbc driver work?
How many ways can you update a result set?
java based application for hospital management
What does it mean to "materialize" data?
What is getconnection method in java?
How can I get or redirect the log used by DriverManager and JDBC drivers?
What is database connection pooling? Advantages of using a connection pool?
What are the different types of drivers under jdbc?
What does the connection object represents?
Is jdbc a web technology?
What do you understand by jdbc statements?