A compilation unit in a Java program contains classes and/or interfaces. The Java compiler compiles each class or interface into a class file, which is represented in a platform-independent binary format. A Java runtime system loads a class from the class file when it needs the class. It executes instructions in compiled methods loaded from class files.
KeywordsJava Program Runtime System Exception Handler Java Virtual Machine Reference Type
- T. Lindholm and F. Yellin. The Java Virtual Machine Specification. Addison-Wesley, Reading, Mass., 1997.Google Scholar