lokendra yadav
what is Class.forName in JDBC program?please explore it?
1 Answer(s)      3 years and 3 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