How to create Connection interface object because it is
Interface , Interface is not instansiated?

Answer Posted / satish.svu

Connection is an interface, but the implementation class is
provided by the third party,

Here Connection interface object means the implementation
class object

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get information about foreign keys used in a table?

621


Briefly tell about the jdbc architecture.

636


Why do we need a jdbcrowset like wrapper around resultset?

850


What are the differences between resultset and rowset?

598


How to check jdbc connection in java?

578






How can we retrieve data from the resultset?

614


What do you mean by odbc?

661


How a database driver can be loaded with jdbc 4.0 / java 6?

564


Can resultset be null in java?

585


Why is odbc needed?

569


Why we use jdbc instead of odbc?

589


What is the function of setautocommit?

731


How to set the attribute concurrency in resultset?

590


When does the result for an sql statement return null?

579


What is resultset?

634