Q1. Explain JDK, JRE and JVM? JDKJREJVMIt stands for Java Development Kit.It stands for Java Runtime Environment.It stands for Java…