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
Why do we use jdbc statements?
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?
What are the different types of resultset?
What is com mysql jdbc driver?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is jdbc and jdbc drivers?
What is JDBC PreparedStatement?
What is the benefit of having jdbcrowset implementation?
Explain some new features available in jdbc 4.0?
Does sql allow null values ?
What is difference between statement and preparedstatement in jdbc?
What are the measures to connect to the db using jdbc?
List the advantages of using datasource?
How can we disable a constraint ?
What types of DataSource objects are specified in the Optional Package?