Java OCA OCP Practice Question 2009

Question

Which is found in the java.sql package?

A.   DerbyDriver
B.   MySqlDriver
C.   OracleDriver
D.   None of the above


D.

Note

Database-specific implementation classes are not in the java.sql package.

The implementation classes are in database drivers and have package names that are specific to the database.

Option D is correct.

The Driver interface is in the java.sql package.

Note that these classes may or may not exist.




PreviousNext

Related