Science, asked by zainab9326, 1 year ago

What is JVM? Why is Java called the ‘Platform Independent Programming Language’?

Answers

Answered by Sushank2003
2
A Java virtual machine (JVM) is an abstract computing machine that enables a computer to run a Java program. There are three notions of the JVM: specification, implementation, and instance. ... An instance of a JVM is an implementation running in a process that executes a computer program compiled into Java bytecode.

When Java Code is compiled a byte code(class file) is generated which is independent of the system. This byte code is fed to the JVM (Java Virtual Machine) which resides in the system. ... The byte code generated by the compiler can be interpreted by any JVM of any machine. Hence it is called Platform independent Language

Answered by SohamKundu012
0

JVM is an abstract machine designed to be implemented on top of existing processors .

It helps to convert the given code in JAVA to bytecode and then we can intrepret the code for a given platform by using an interpreter .

This interpreter is called JVM .

The full form of JVM is Java Virtual Machine .

The code is first written in .java .

Then converted to bytecode and then .exe by the JVM .

It is platform independent .

It hides the operating system from JAVA application .

Similar questions