The
Key that allows java to solve both the security and the portability problems is
that the output of a java compiler is not executable code. Rather it is a byte
code.
Bytecode
is a highly optimized set of instructions designed to be executed by the java
run-time system, which is called the Java Virtual Machine(JVM).
JVM
works as an intermediary between the OS and Java object framework.
The
original JVM was designed as an interpreter for bytecode.
It
becomes possible to run a java program in a wide variety of environments
because only the JVM needs to be implemented for each platform.
No comments:
Write comments