Oracle Java SE 8 Programmer II 1z0-809 Question # 16 Topic 2 Discussion

Oracle Java SE 8 Programmer II 1z0-809 Question # 16 Topic 2 Discussion

1z0-809 Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

Which code fragment is required to load a JDBC 3.0 driver?


A.

Connection con = Connection.getDriver(“jdbc:xyzdata://localhost:3306/EmployeeDB”);


B.

Class.forName(“org.xyzdata.jdbc.NetworkDriver”);


C.

Connection con = DriverManager.getConnection(“jdbc:xyzdata://localhost:3306/EmployeeDB”);


D.

DriverManager.loadDriver (“org.xyzdata.jdbc.NetworkDriver”);


Get Premium 1z0-809 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.