Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA PROGRAMMING

JAVA's Magic the Bytecode

The key that allows Java to solve both the security and the portability problems just described is that the output of a Java compiler is not executable code. Rather, it is bytecode. Bytecode is a highly optimized set of instructions designed to be executed by standard form, the JVM (Java Virtual Machine) is an interpreter for bytecode.

Translating a Java program into bytecode helps makes it much easier to run a program in a wide variety of environments. This reason is straightforward: only the JVM needs to be implemented for each platform.


Previous

Next