java.
(e.g., java.lang.*
) and
javax.
(e.g., javax.sql.*
).
import
keyword.
You can either import a single class (along with its methods and attributes), or a whole package that contains all the classes that belong to the specified package:
|