What do you understand by Java virtual machine?

DWQA QuestionsCategory: JavaWhat do you understand by Java virtual machine?
Editor Staff asked 9 months ago

What do you understand by Java virtual machine?

1 Answers
Editor Staff answered 9 months 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.