How to create Connection interface object because it is
Interface , Interface is not instansiated?
Answer Posted / .t.v.harish
Connection is an interface from java.sql package, for which
getConnection(_) was return an anonymous inner class object
of the Connection interface.
Note:- Anonymous inner class is a nameless inner class,
which can be sued to provide an implementation either for
the interfaces or for abstract classes.
T.V.HARISH
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What are the different types of interfaces in the api component?
Is oracle client required for jdbc connection?
Is it possible to connect to multiple databases simultaneously?
What do you mean by database connection pooling?
Is odbc an api?
What is a lock in jdbc?
Is jdbc faster than hibernate?
What is drivermanager in jdbc?
What is the full form of jdbc and what is its purpose?
Why do I have to reaccess the database for Array, Blob, and Clob data?
What are four types of JDBC driver?
What types of DataSource objects are specified in the Optional Package?
How to get the Database server details in java program?
What is difference between statement and preparedstatement in jdbc?
What is a jdbc url?