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
How the JDBC application works?
Can I get a null resultset?
How many types of resultset are there in jdbc?
Explain how data flows from view to db and reverse
What are the basic exceptions in jdbc?
How can I get information about foreign keys used in a table?
What is the major difference between java.util.date and java.sql.date data type?
Why jdbc is used in java?
Explain different types of locks in jdbc?
What are the 4 types of jdbc drivers?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
How can I determine the isolation levels supported by my DBMS?
What does the jdbc connection interface?
What is the jdbc rowset?
What is resultset?