What does Class.forName return?

Answer Posted / surya, samcomm technologies pv

yes. It does return Class type.

code:-

try {
Class clazz=Class.forName("");
} catch (ClassNotFoundException e) {
e.printStackTrace();
}

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

570


What is metadata in jdbc?

482


What do you mean by two phase commits?

563


What is the difference between jdbc and odbc?

525


How do I check in my code whether a maximum limit of database connections have been reached?

581






Describe odbc?

556


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

585


What is JDBC Driver interface?

574


Explain how data flows from view to db and reverse

1630


What is the limitation of PreparedStatement and how to overcome it?

636


How can we execute stored procedures using callablestatement?

467


Explain the necessary steps to connect to the database in java?

550


How can we store the file in the oracle database?

520


What are the different types of resultset?

548


What is the difference between executing, executequery, executeupdate in jdbc?

560