Which of the following header must be included in java program to establish database connectivity using JDBC ?

Question:

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.*;

Note: The above multiple-choice question is for all general and Competitive Exams in India

Similar Posts