Which of the following are JDBC interfaces in the java.sql package?.
B.
Driver, Connection, Statement, and ResultSet are the four key interfaces you need to know for JDBC.
DriverManager is a class rather than an interface.
Query is not used in JDBC.
Since only Driver and ResultSet are interfaces in the list, Option B is the answer.