ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

In java why we need java VM and expain it?

user-image
تم إضافة السؤال من قبل Bhuvaneshwari Tamilarasan , Data security(Encrpting) , Salem Industry Pvt Ltd
تاريخ النشر: 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

المزيد من الأسئلة المماثلة