Multiple choice technology programming languages

In JDBC ______________ used to create an instance of a driver and register it with the DriverManager. When you have loaded a driver, it is available for making a connection with a DBMS.

  1. Class.forName

  2. Class.JDBCODBC

  3. Class.JdbcDriver

  4. Class.Loader

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Class.forName() dynamically loads a driver class and registers it with the DriverManager. This is the standard JDBC pattern for driver loading. When a driver class is loaded, its static initializer registers the driver with DriverManager, making it available for connections.