Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions what is Class.forName in JDBC program?please explore it?

Have Programming Question? Ask it here!
 
 
 


lokendra yadav
what is Class.forName in JDBC program?please explore it?
1 Answer(s)      2 years and 6 months ago
Posted in : Java Interview Questions


what is Class.forName in JDBC program?please explore it?


Advertisement
View Answers

February 3, 2012 at 11:02 AM


Class.forName()is static. It attempts to load the class and returns class instance and takes string type value (driver) after that matches class with given string.

For more information, visit the following link:

Java JDBC Mysql connection



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com