Java SE 8 Programmer II — Question 192
For which three objects must a vendor provide implementations in its JDBC driver? (Choose three.)
Answer options
- A. Time
- B. Date
- C. Statement
- D. ResultSet
- E. Connection
- F. SQLException
- G. DriverManager
Correct answer: C, D, E
Explanation
The correct answer includes C, D, and E because the JDBC driver must implement the Statement, ResultSet, and Connection interfaces to facilitate communication with the database. Options A, B, F, and G are not mandatory implementations for the driver itself, as they serve different purposes within the JDBC framework.