← 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?
- A.One JVM program runs on every operating system
- B.The JVM is only needed on Windows
- C.Each operating system needs its own JVM, which runs the same bytecode
- 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 →