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 does the jdbc connection interface?

543


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

618


What is thin driver in jdbc?

514


Explain jdbc savepoint?

567


What is a statement in java?

517






Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

571


What are the ddl statements?

477


What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

516


Explain the difference between resultset and rowset in jdbc

543


What is JDBC Connection isolation levels?

551


How do I disallow NULL values in a table?

547


What should be done for auto generating primary key id in a table ?

533


What is the use of getGeneratedKeys() method in Statement?

535


What are the three basic components of the odbc architecture?

470


Is jdbc database independent?

503