Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

In java why we need java VM and expain it?

user-image
Question added by Bhuvaneshwari Tamilarasan , Data security(Encrpting) , Salem Industry Pvt Ltd
Date Posted: 2017/07/25

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

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.