Question 2
Back to Exercise
Which statement about JVM, JRE and JDK is correct?
- A The JVM contains the JDK
- B The JDK contains the JRE (JVM + libraries) plus development tools like javac Correct
- C The JRE contains javac
- D They are three names for the same thing
Correct Answer: Option B
JDK ⊃ JRE ⊃ JVM. To compile you need the JDK; to run, a runtime.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!