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

What are the different types of locking in JDBC?

741


What is JDBC Batch Processing and what are it’s benefits?

690


What do you understand by DDL and DML statements?

684


What are the types of statements in jdbc?

704


What do you mean by odbc?

763


What is the latest version of JDBC? What are the new features added in that?

718


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

730


Which jdbc driver type s is are the jdbc odbc bridge?

632


Prepared statements are faster. Why?

768


What are JDBC Best Practices?

774


Describe odbc?

724


How can we execute stored procedures using callablestatement?

668


Why do we need jdbc api?

670


What is the use of setFetchSize() and setMaxRows() methods in Statement?

703


How to retrieve warnings in jdbc?

703