Steps to create a Java package:
- Come up with a package name
- Pick up a base directory
- Make a subdirectory from the base directory that matches your package name.
- Place your source files into the package subdirectory.
- Use the package statement in each source file.
- Compile your source files from the base directory.
- Run your program from the base directory.