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

Answer Posted / raja

write a connection interface class and sub class implemente
a interface .Now create object of interfacelike this
interface in=new SubclassName();

Is This Answer Correct ?    14 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc connection interface?

687


What are the main steps in java to make JDBC connectivity?

765


What port does jdbc use?

681


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

2131


Is not bound in this context unable to find jdbc spring boot?

652






What is Apache DBCP API?

744


What is meant by jdbc and odbc?

649


What is a java driver?

643


Give a way to check that all result sets have bin accessed and update counts are generated by execute method.

664


What is the execute method in java?

710


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

706


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

702


What is JDBC ResultSet?

767


What is connection data?

644


Is jdbc a protocol?

667