JDBC ODBC Class Name

Why we call Class.forName() not Class.Name()?

  
Showing Answers 1 - 1 of 1 Answers

Abhinav Kumar Jain

  • Jun 18th, 2016
 

We use Class.forName because of it is responsible to register the driver.ex. Class.forName("oracle.jdbc.driver.OracleDriver"); but Class.Name is not such method.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions