Java is called an interpreted language because the code is not compiled to machine code which the computer executes; rather it is converted to "bytecode" which the java program reads and passes on to the CPU in a format which the CPU can execute. That means you can have a different java program on Linux, on Mac, on Windows, on an Intel chip, a PPC chip, etc, and the same bytecode will run on all those platforms. Also the java program can insert some security between the bytecode and execution. "Some" security-not much, however.
Joined: Jun 28, 2008
thank you campbell.
but i also want to know that which one have interpreter.