C4 - Lesson 2: Running Java Applications Flashcards

1
Q

Which of the following statements about Java bytecode are true?

Bytecode is faster than machine code

Java Virtual Machines can run programs written in bytecode on any device where they are installed.

Bytecode must be stored in a file named after the Java class that the bytecode describes.

Once you have a .class file, you use the javac command on it to run it.

A

Java Virtual Machines can run programs written in bytecode on any device where they are installed.

Bytecode must be stored in a file named after the Java class that the bytecode describes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly