JVM stands for Java virtual Machine.
Java virtual Machine (JVM) is a virtual Machine that provides runtime environment to execute java byte code.
The JVM doesn't understand Java typo, that's why you compile your *.java
files to obtain *.class
files that contain the bytecodes understandable by the JVM.
JVM control execution of every Java program.
It enables features such as automated exception handling, Garbage-collected heap.
Bytecode is nothing but the intermediate representation of Java source code which is produced by the Java compiler by compiling that source code. This byte code is an machine independent code.It is not an completely a compiled code but it is an intermediate code somewhere in the middle which is later interpreted and executed by JVM.Bytecode is a machine code for JVM.
Ask Question