Q1) what is difference between JDK,JRE and JVM? JVM JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms (so JVM is plateform dependent). JRE JRE stands for Java Runtime Environment. It is the implementation of JVM and physically exists. JDK JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools. more details... 2) How many types of memory areas are allocated by JVM? Many types: