Q. What is the difference between JDK, JRE, and JVM?
Solution:
JVM (Java Virtual Machine) is the abstract machine that executes Java bytecode. JRE (Java Runtime Environment) includes the JVM and library classes needed to run Java applications. JDK (Java Development Kit) includes the JRE plus the tools needed to develop Java applications (like the compiler and debugger).
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.