nerdexam
GIAC

GSSP-JAVA · Question #65

You have created a Java application that will retrieve and insert data into a database table. Which of the following objects will you use to pass the JDBC Driver to obtain a connection to the…

The correct answer is A. DriverManager. See the full explanation below for the reasoning.

Question

You have created a Java application that will retrieve and insert data into a database table. Which of the following objects will you use to pass the JDBC Driver to obtain a connection to the database server?

Options

  • ADriverManager
  • BResultSet
  • CConnection
  • DStatement

How the community answered

(62 responses)
  • A
    84% (52)
  • B
    5% (3)
  • C
    8% (5)
  • D
    3% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice