intermediateCore Java Fundamentals48 of 436

Difference between JVM, JRE and JDK?

Tests whether you know the containment hierarchy: JVM executes bytecode, JRE wraps the JVM plus core libraries to run programs, and JDK wraps the JRE plus the compiler and dev tools needed to build programs -- not just three interchangeable acronyms.

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

← Back to all Core Java questions