Computer Science, asked by dsrinivasarao019, 11 months ago

what role does the Java Virtual Machine play in the compilation and interpretation process​

Answers

Answered by smartbrainz
2

Java Virtual Machine enables running Java programs as well as programs written in other languages, which are also compiled to Java bytecode.

  • In Java, programs are compiled into bytecode. Java Virtual Machine (JVM) is an engine that provides run time environment for Java applications. It converts Java bytecode to machine language. In other programming languages this process is accomplished by the compiler.
  • The JVM allocates the memory needed by a Java program. It also deallocates the memory space.
  • The Java Virtual Machine is a platform-independent execution environment

To know more about Java Virtual Machine, visit:

https://brainly.in/question/4413983

Answered by Anonymous
0

Explanation:

Java Virtual Machine enables running Java programs as well as programs written in other languages, which are also compiled to Java bytecode. In Java, programs are compiled into bytecode. ... It converts Java bytecode to machine language. In other programming languages this process is accomplished by the compiler

Similar questions