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

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

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

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

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

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

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *