JVM is a virtual machine or a program that provides run-time environment in which java byte code can be executed. JVMs are available for many hardware and software platforms. The use of the same byte code for all JVMs on all platforms make java platform independent.
Memory areas are allocated by JVM
Heap, Stack, Program Counter Register and Native Method Stack