CSC 120 Study Guide - Comprehensive Final Exam Guide - Java Virtual Machine, Quotation Mark, Data Type
champagnegnat971 and 18 others unlocked
26
CSC 120 Full Course Notes
Verified Note
26 documents
Document Summary
In simple term, program is list of instructions and the machine runs the instructions. In programming, memory is an important part. bit is the smallest storage unit. You can use plain text editors to run java. However, you need to save the file with (. java) extension. After that, you run the code (javac filename. java) on the terminal. What javac does is, it compiles java source files into bytecode class file(. class). When you enter this code either it puts out a error message(meaning there is error in your code) or it does nothing(meaning there"s no error in your code. ) If there"s error in your code you fix your code and re-enter this code. Until the error message doesn"t come out anymore. And now since it is compiled, in order to run your code, you enter the code (java filename). This is the first code we start with.