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 is jdbc resultsetmetadata interface?

536


State the three different ways in which you can create a table?

522


What are the different types of drivers under jdbc?

477


What are four types of JDBC driver?

570


What causes the "No suitable driver" error?

538






Which is better jpa or jdbc?

507


What is the return type of class.forname() method?

550


Is java a database?

504


What is jdbc type?

517


What are the three basic components of the odbc architecture?

470


What is serialization and deserialization in java programming?

524


What do you understand by jdbc statements?

517


What is executeupdate in java?

476


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

528


List the common jdbc exceptions ?

571