What do you understand by Java virtual machine?

Category: JavaWhat do you understand by Java virtual machine?
Editor">Editor Staff asked 2 years ago

What do you understand by Java virtual machine?

1 Answers
Editor">Editor Staff answered 2 years ago

Java Virtual Machine is a virtual machine that enables the computer to run the Java program. JVM acts like a run-time engine which calls the main method present in the Java code. JVM is the
specification which must be implemented in the computer system. The Java code is compiled by JVM to be a Bytecode which is machine independent and close to the native code.