First page Back Continue Last page Graphics
Compiling Java Classes (cont'd)
Java source code files must have the .java extension
Files are compiled using the javac command. Example:
For each class in the file, a separate object file (interpreted bytecode) with a .class extension is created. In the example: