Exam 1z0-809 All QuestionsBrowse all questions from this exam
Question 45

Which statement is true about the DriverManager class?

    Correct Answer: C

    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.

Discussion
aymanjOption: C

Answer is C ... The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.

laura_lu93Option: C

correct answer is C

asdfjhfgjuaDCVOption: C

C is the correct answer

iSnoverOption: C

The correct answer is C, follow source -> https://docs.oracle.com/javase/8/docs/api/java/sql/DriverManager.html

r1muka5Option: C

Correct answer is C

WilsonKKerllOption: A

Answer is A. If It returns an instance of database. change It returns an instance of Connection.

MudzingwaOption: C

C The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.