Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

In java why we need java VM and expain it?

user-image
Question ajoutée par Bhuvaneshwari Tamilarasan , Data security(Encrpting) , Salem Industry Pvt Ltd
Date de publication: 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

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?