← Quiz: Java Introduction: all 10 questions
Quiz: Java Introduction · Question 1 of 10
What does the javac command produce?
What does the javac command produce?
- A.Machine code for Windows only
- B.Bytecode (.class files)
- C.A .java file
- D.An .exe installer
Answer & explanation
Correct answer: Bytecode (.class files)
javac compiles source code into platform-independent bytecode stored in .class files.
Can you get the rest right without peeking?
Take the timed Quiz: Java Introduction quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →