Importing the InterClient Classes
Go Up to Using the JDBC Interfaces
The InterClient classes provide the code that actually implements the JDBC API. The java.sql
package defines the standard JDBC API interfaces. Importing this package allows you to reference all of the classes in the java.sql
interface without first typing the “java.sql” prefix. For clarity's sake, this document prefixes all class names with “java.sql,” but it isn't necessary if you import the package. You can import this package with the following line:
import java.sql.*;