What is the difference between a JDK and a JVM?
JDK | JVM |
---|---|
Stands for Java Development Kit. | Stands for Java Virtual Machine. |
This is a software development kit used for developing applications in Java. | It is used for executing Java Byte code while also providing an environment for its execution. |
This is platform dependent. | This is platform-independent. |
It contains tools relevant for the development, debugging, and monitoring of Java Code. | This does not include any tools. |
This is a superset of JRE. | This is a subset of JRE. |
This helps developers to develop applications that can be executed by the JVM and the JRE. | This is the component used for executing the source code. |
Related Article: What are the new features of Java 8
BY Best Interview Question ON 18 Nov 2020