CS 1100 Lecture 2: August 19, 2016 Notes
Document Summary
When java codes are saved, the extension part of the code will be . java . Basically it is a text file, but the java indicates that it is a code. You must always save the exercise as the class name. Once in the . java" file, you must compile the code. It gets compiled into a low-level language called bytecode. Once compiled, it will save as a . class file. Once it is saved as a . class" file, the code can be run. It is put into a interpreter, java virtual machine (jvm) This turns code into machine language, so the computer knows what to do.