Common Packages
A package is a grouping of Java classes.
To use a built-in Java class, you may need to import the package it is in; this statement imports the Java utility package:
import java.util.*;
The package is
java.util
and the .* at the end means all the classes in the package.
The online documentation for the class indicates the package it is in.
Common Java Packages
java.io.*
I/O classes for applications
java.util.*
utility classes
Your IDE automatically puts your code inside a package - we will learn more about that later.
For now, be sure to put all your source code for each program in the same package.
This means that you will NOT import a package in order to use your own classes.