Explain the difference between JVM and JRE?
JVM | JRE | |
---|---|---|
1. | Provides runtime environment for Java apps and programs | Stands for Java Runtime Environment |
2. | An integral part of JDK and JRE | Provides an environment to run java programs only |
3. | Responsible for executing a java program | Part of JRE distribution |
BY Best Interview Question ON 13 Jan 2019