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

Is jdbc a protocol?

503


What are types of resultset?

565


What are the common JDBC problems that you got and how do you solved them?

1965


How can you load the drivers?

556


What is a jdbc driver and how many jdbc drivers are available?

584






What do you understand by jdbc datasource?

601


What is meant by connection string?

560


Does jdbc require oracle client?

531


How do I receive a ResultSet from a stored procedure?

529


How can we disable a constraint ?

565


What is the meaning of “dirty read” in the database?

567


What is jdbc and its advantages?

500


State the different connection methods used for creating different types of sql.

506


Is it possible to connect to multiple databases simultaneously?

559


What is addbatch jdbc?

539