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 is connection data?
What are drivers available?
Is odbc an api?
What is jdbc and why is it required?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is JDBC Connection isolation levels?
State the different connection methods used for creating different types of sql.
What is hbm xml?
How can I write to the log used by DriverManager and JDBC drivers?
What is the use of jdbc api?
Prepared statements are faster. Why?
What is the difference between executing, executequery, executeupdate in jdbc?
How can you create jdbc statements?
Expalin the method of calling a stored procedure from jdbc.
Explain the locking system in jdbc?