Java Introduction Flashcards
What is the set of commands understood by a computer?
Machine Code
What is the component of a computer that executes the commands in a program.
Processor
How is information stored in the memory of a computer?
Binary, as 1s and 0s
What translates a programming language into machine code that a computer can understand?
A compiler
What is bytecode?
The compiler translates the Java program into bytecode, which is then interpreted by the JVM.
What is the name of the Java compiler and the java interpreter in Terminal/Command
javac, java
How is a Java program executed?
First user writes code in .java file. Then, the compiler (javac) translates this code into Java Bytecode (.class). The Java Virtual machine (java) then executes this program.