Byte code of Java and JVM
Byte code:
Byte code cab be defined as an intermediate code generated by the compiler after the
compilation of source code (java program).
This intermediate code makes java a platform-independent language
Working of Byte code:
Compiler converts the source code or the java program into the Byte code (or machine
code), and secondly, the interpreter executes the byte code on the system.
The interpreter can also be called JVM (Java Virtual Machine).
The byte code is the common piece between the complier (which creates it) and the
Interpreter (which runs it).