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
Which type of JDBC driver is the fastest one?
What is jdbc explain?
What is a JDBC 2.0 DataSource?
What is jdbc and its types?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
Why did my jdbc code throw a rollback sqlexception?
What is jdbc drivers in java?
What is the purpose of jdbc?
How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?
Result set’s index starts with 0 or 1?
Explain the main method?
What are database warnings in jdbc and how can we handle database warnings in jdbc?
Is jdbc a framework?
Is oracle client required for jdbc connection?
What is jdbc connection class?