Explain the difference between JDK, JRE, and JVM?
Java Development Kit (JDK) | JVM | JRE | |
---|---|---|---|
1. | Core component of Java Environment | Converts Byte code to machine-specific code | Implementation of JVM. |
2. | Provides tools and executables required for a Java Program | Platform dependent | Provides a platform for executing Java programs. |
3. | It is platform specific | Provides core functions like garbage collection, memory management and security etc. | Consists of java binaries and classes. |
BY Best Interview Question ON 13 Jan 2019