Which statement is true about the DriverManager class?
Which statement is true about the DriverManager class?
The DriverManager class in Java is responsible for managing a list of database drivers. During the database connection, DriverManager class tries to find an appropriate driver from the previously loaded drivers to establish a connection. One of the key responsibilities of the DriverManager class is to load the database driver class mentioned in the jdbc.drivers property.
Answer is C ... The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.
correct answer is C
C is the correct answer
The correct answer is C, follow source -> https://docs.oracle.com/javase/8/docs/api/java/sql/DriverManager.html
Correct answer is C
Answer is A. If It returns an instance of database. change It returns an instance of Connection.
C The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.