Home » Developer & Programmer » JDeveloper, Java & XML » Class.forName
Class.forName [message #92643] Thu, 04 November 2004 19:35
Nilesh
Messages: 16
Registered: November 1999
Junior Member
What is the function of the method

Class.forName(driverclassname)

I know that it loads the class into JVM and returns an object.

Can we use new instead of that? If not, why not? What's the differnece?
Previous Topic: DriverManager.getConnection NullPointerException
Next Topic: NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
Goto Forum:
  


Current Time: Fri Apr 19 07:44:01 CDT 2024