what is bytecode
Bytecode is computer object code that is processed by a program, usually referred to as a virtual machine, rather than by the real computer machine, the hardware processor.sing a language that comes with a virtual machine for each platform, your source language statements need to be compiled only once and will then run on any platform. The best-known language today that uses the bytecode and virtual machine approach is Java.
Bytecode may often be either directly executed on a virtual machine (i.e. interpreter), or it may be further compiled into machine code for better performance.ome systems, called dynamic translators, or  just-in-time  (JIT) compilers, translate bytecode into machine language as necessary at runtime: this makes the virtual machine hardware-specific, but doesn't lose the portability of the bytecode itself.