JVM vs JRE vs JDK: Key Differences Explained - Quiz

Total: 6 questions

1. What does the JVM execute?
Bytecode (.class files).
2. What does the JRE consist of?
The JVM plus the standard class libraries.
3. What does the JDK add on top of the JRE?
The compiler (javac) and developer tools.
4. Which should you install to write Java: JRE or JDK?
The JDK.
5. Which is the innermost layer: JVM, JRE, or JDK?
The JVM (the JDK contains the JRE, the JRE contains the JVM).
6. Since which version does Oracle no longer ship a separate JRE?
Since Java 11.
Page 1 of 1