All JVM languages define their own syntaxes for creating classes and instantiating objects, but in the end, they produce class files that would run on the JVM. In order to be able to run on the JVM and be able to offer interoperability with classes written in other languages on the JVM platform, they have to follow JVM's requirements for organizing classes. We'll discuss the following topics:
- Packages
- Choosing a package
- Package examples
- Fully qualified class names
Knowledge of packages is required to understand the organization of the Java Class Library and how to run JVM applications on the command line. Both these topics are discussed in this chapter.