🎙 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 9 of 10

Bytecode is the same on every operating system. What about the JVM itself?

Bytecode is the same on every operating system. What about the JVM itself?

  1. A.One JVM program runs on every operating system
  2. B.The JVM is only needed on Windows
  3. C.Each operating system needs its own JVM, which runs the same bytecode
  4. D.The JVM is part of javac
Answer & explanation

Correct answer: Each operating system needs its own JVM, which runs the same bytecode

The JVM is platform-specific; that is exactly what lets one .class file run everywhere.

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 →