Packages
The main reason for using packages is to guarantee the uniqueness of class names.
Static Imports
For example, if you add the directive
import static java.lang.System.*;
to the top of your source file, then you can use static methods and fields of the System class without the class name prefix:
out.println("Goodbye, World!"); // i.e., System.out
exit(0); // i.e., System.exit

浙公网安备 33010602011771号