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 is statement and preparedstatement in java?
What are the jdbc statements?
What is phantom read and which isolation level prevents it?
How can I get information about foreign keys used in a table?
What is jdbc and why is it required?
What is an odbc driver?
What does jdbc setmaxrows method do?
What is a jdbc connection string?
How do we call a stored procedure from jdbc?
Is jdbc part of j2ee?
Does jdbc require oracle client?
What is JDBC PreparedStatement?
What are different types of ResultSet?
What is the role of class.forname while loading drivers?
How to know howmuch data is truncated?