Explain about JVM code example
Example 1: 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.
Example 2: what is jvm
jvm stands for java virtual machine and it s platform dependent which is used to execute the java file i,e .class files.