Answer
The Java Virtual Machine is an abstract computing machine that executes JVM class files. • It defines an instruction set, class-file format, run-time data areas, loading, linking, and initialization. • A JVM implementation may interpret or compile bytecode. • The JVM specification is not the same thing as one implementation such as HotSpot.
Example
Code
javac Main.java java Main
Quick Revision
The JVM is the specified machine that loads and executes class files.