Wednesday, 25 March 2020

JVM | Java virtual machine


JVM

JVM stands for java virtual machine. The virtual machine of java  enables a computer to run our Java programs  that are  compiled to Java bytecode.
Before it is executing  JVM verifies the bytecode .
Java virtual machine (JVM) provides runtime environment.
Java virtual machine converts bytecode into machines language. It is a part of Java RunEnvironment (JRE).


 Here is how JVM works:

First, we have to write java program and then save this java program and then  compile the java program if no compilations are there then we get  bytecode.
 This bytecode gets interpreted on different machines.

Java virtual machine (JVM) is responsible for allocating memory space.

No comments:

Post a Comment