Question: why jdk is used in java?
Answer: At its heart is the Java compiler. The Java Development Kit (JDK) is one of three core technology packages used in Java programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime Environment). ... The JDK allows developers to create Java programs that can be executed and run by the JVM and JRE.