Tuesday, 20 August 2013

Compilation and Execution Process of JAVA Program














First see the whole picture carefully each and every thing then read further.


First see the picture and Only thing that are unfamiliar with you are "Byte Code"
What is Byte Code???
The Java compiler translates your Java program into a language called byte code. This byte code is not the machine language for any particular computer, but it is similar to the machine language of most common 
computers. Byte code is easily translated into the machine language of a given computer. Each type of computer will have its own translator called an interpreter—that translates from byte code instructions to 
machine-language instructions for that computer.

Why is it called Byte code?
Programs in low-level languages, such as byte code and machine-language code, consist of instructions, each of which can be stored in a few bytes of memory. Typically, one byte of each instruction contains the operation code, or op code, which specifies the operation to be performed. The notion of a one-byte op code gave rise to the term byte code.

No comments:

Post a Comment