Register now or log in to join your professional community.
As we know the Java is an Platform Independent programming language.
But Java VM(i.e. Java Virtual Machine) is a platform dependent. Java compiler converts Java source code into byte code. To execute the byte code we need Java Virtual Matchine(JVM) JVM will interprets byte code and execute it.
While executing byte code JVM internally creates a multiple area like method area, stack area, program counter register,native method stack,..... with the help of these JVM interprets Java Byte code and then execute it.
Hope my answer is useful for you