where is jvm code example
Example 1: what is jvm
JVM is an acronym for Java Virtual Machine;
it is an abstract machine which provides the runtime environment
in which Java bytecode can be executed.
It is a specification which specifies the working of Java Virtual Machine.
Its implementation has been provided by Oracle and other companies.
Its implementation is known as JRE.
JVMs are available for many hardware and software platforms
(so JVM is platform dependent). It is a runtime instance which is
created when we run the Java class.
There are three notions of the JVM: specification, implementation, and instance.
Example 2: what is jvm
JVM:
1. JVM is an abstract machine.
Because it doesn't physically exist.
2. It is a very important part of both JDK
and JRE because it is inbuilt in both.
3. Whatever Java program we want to run, goes into JVM.
4. And JVM is responsible for loading,
verifying and executing the java program
line by line hence it is also known as interpreter.