Chapter 1.3 : The Java Virtual Machine Flashcards
1
Q
Almost all programs are written in __________ languages.
A
high-level
2
Q
What does a compiler do?
A
It translates high level language into machine language so the computer can execute the program.
3
Q
What does an interpreter do?
A
It translates high level language to machine language bit by bit as needed. It acts much like a CPU in this case
4
Q
Programs written in java are compiled into machine language for a virtual computer called?
A
the Java Virtual Machine
5
Q
What is the machine language for the Java Virtual Machine called?
A
Java bytecode