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
Is there another way of dealing with the result set that could execute faster?
What is connection commit?
What is the return type of execute, executequery and executeupdate?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What are common JDBC Exceptions?
What is in terms of jdbc a datasource?
Expalin the method of calling a stored procedure from jdbc.
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
How java can be connected to a database?
Differentiate between type_scroll_insensitive and type_scroll_sensitive.
What is a lock in jdbc?
What is a rollback in jdbc?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
How many locking systems are there in jdbc?
How to make updates to updatable result sets in jdbc?