Computer Science, asked by ac1485, 1 year ago

What is the role of JVM in platform independence?

Answers

Answered by Chikun01
11
Java virtual machine converts the byte code of a java program written on another system to its own machine language and runs it to get the result.

ac1485: thx
Answered by cyrusbishop
17

Answer:

The role of JVM in independent platform is that it acts as a virtual processor, which processes the byte code to machine code instructions for various platforms.

Explanation:

Programs written in Java are compiled into the Java Byte Code, which is then interpreted by a special Java Interpreter for a specific platform. Actually, this Java interpreter is known as the Java Virtual Machine.

Similar questions