McqMate
| Q. |
Which of the following header must be included in java program to establish database connectivity using JDBC ? |
| A. | import java.sql.*; |
| B. | import java.sql.odbc.jdbc.*; |
| C. | import java.jdbc.*; |
| D. | import java.sql.jdbc.*; |
| Answer» A. import java.sql.*; | |
| Explanation: the java program must import java.sql.*, which contains the interface definitions for the functionality provided by jdbc. | |
View all MCQs in
Information Retrival TechniquesNo comments yet