<<< The import statement and packages | Index | Packages, Classes, and Methods >>> |
The java.lang package contains classes that are used in most applications and this package is imported automatically.
Primitive data types and the class String are part of the Java language package -- don't need to be imported.
If you use a java API class, it's important to know
Which package is it coming from?
Is an import statement required?
<<< The import statement and packages | Index | Packages, Classes, and Methods >>> |