Question PRG-JAVA-0005
EasyWhat does the JVM do?
- A.
Compiles C code
- B.
Runs Java bytecode on a particular platform
- C.
Show answer and explanation
Answer: B
javac compiles .java files to .class bytecode, which any JVM can run — 'write once, run anywhere'.