What is the role of class.forname while loading drivers?
Answer Posted / Pranjal Gupta
The Class.forName() method in Java loads the specified JDBC driver class. It is used to register the driver with the JVM, making it available for use by the DriverManager.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers