🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Machine code for Windows only
  2. B.Bytecode (.class files)
  3. C.A .java file
  4. 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 →