exam questions

Exam 1z0-809 All Questions

View all questions & answers for the 1z0-809 exam

Exam 1z0-809 topic 1 question 45 discussion

Actual exam question from Oracle's 1z0-809
Question #: 45
Topic #: 1
[All 1z0-809 Questions]

Which statement is true about the DriverManager class?

  • A. It returns an instance of database.
  • B. It executes SQL statements against the database.
  • C. It loads the database driver class mentioned in the jdbc.drivers property
  • D. it is written by different vendors for their specific database.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://javaconceptoftheday.com/drivermanager-class-in-java/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
aymanj
Highly Voted 3 years, 4 months ago
Answer is C ... The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.
upvoted 8 times
...
asdfjhfgjuaDCV
Most Recent 4 months, 3 weeks ago
C is the correct answer
upvoted 1 times
...
iSnover
6 months, 1 week ago
Selected Answer: C
The correct answer is C, follow source -> https://docs.oracle.com/javase/8/docs/api/java/sql/DriverManager.html
upvoted 1 times
...
r1muka5
1 year, 4 months ago
Correct answer is C
upvoted 1 times
...
WilsonKKerll
2 years, 4 months ago
Answer is A. If It returns an instance of database. change It returns an instance of Connection.
upvoted 1 times
...
Mudzingwa
2 years, 6 months ago
C The main job of DriverManager class is loading the driver class of the database and establishing the connection with the database.
upvoted 1 times
...
laura_lu93
3 years, 5 months ago
correct answer is C
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago