What does Class.forName return?

Answer Posted / karthik

Class.forName attempts to load the class whose name is
given in its only argument, and returns the Class instance
representing that class. In the
event that the Class could not be found, resolved, verified,
or loaded, Class.forName
throws one of several different Exceptions

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is db client?

499


How to insert an image or raw data into database?

556


Does jdbc use odbc?

506


Which database is used for java?

530


What is jdbc thin client in oracle?

495






Why do I have to reaccess the database for Array, Blob, and Clob data?

550


Compare jdbc and odbc and how is jdbc required in this context.

528


What are the different types of drivers under jdbc?

477


How to retrieve warnings in jdbc?

528


How the JDBC application works?

540


Name the method, which is used to prepare a callablestatement.

510


What class.forname does, while loading the drivers?

541


What is the most common example type 1 driver?

598


Explain how to make updates to the updatable resultsets.

510


Does the JDBC-ODBC Bridge work with Microsoft J++?

1873