1. What does `javac` produce from a `.java` file?
- Native machine code for your CPU
- Platform-neutral bytecode in a .class file
- An executable .exe
- Nothing — Java is interpreted line by line
Show answer
Answer: Platform-neutral bytecode in a .class file
The compiler emits JVM bytecode; the JVM then executes (and JIT-compiles) it at runtime.
Lesson: Your First Program