Which packages contain the JDBC classes?
O (a) java.jdbc and javax.jdbc
O (b) java.jdbc and java.jdbc.sql
O (c) java.sql and javax.sql
O (d) java.rdb and javax.rdb
To answer this question, the user needs to have knowledge about the JDBC (Java Database Connectivity) API and its packages.
Option A: This option is incorrect. There is no package called javax.jdbc in the JDBC API.
Option B: This option is also incorrect. There is no package called java.jdbc.sql in the JDBC API.
Option C: This option is correct. The JDBC API contains two key packages: java.sql and javax.sql.
Option D: This option is incorrect. There is no package called java.rdb or javax.rdb in the JDBC API.
Therefore, the correct answer is:
The Answer is: C. java.sql and javax.sql.