What is the difference between JDK, JRE, and JVM?
1) JDK is a software environment used for the development of Java programs. It’s a collection of libraries that can be used to develop various applications.
2) JRE (Java Runtime Environment) is a software environment that allows Java programs to run. All java applications run inside the JRE.
3) JVM (java virtual machine) is an environment that is responsible for the conversion of java programs into bytecode executables. JDK and JRE are platform-dependent whereas JVM is platform-independent.