Java Virtual Machine :
A program written in any programming language must be compiled or interpreted in the form of macine language and after that the program is executed to produce the output. Java Virtual machine provides an environment for the compilation and execution of Java Programs.
Definition : The Java Interpreter is known as Java Virtual Machine (JVM) which interprets byte code for a particular platform to run the program. The machine language for JVM is known as Java Byte Code.
The combination of Java Virtual Machine and JAVA API (Application Program Interface) is treated as Java Working Platform. Actually Java API’s are the libraries that consist of pre-processed codes (variables, constants and functions etc.) that a programmer uses to perform some specific task while writing a program.