Java Virtual Machine

Java Virtual Machine

      Java compiler compiles the source code and produces a machine independent intermediate code called bytecode. This  code cannot be used dirctly by the computer. This intermediate codes are called java virtual machine (JVM).
      These intermediate codes can be used by any machine with the help of the correct interpreter. The interpreter produces the machine dependent code called machine code can be run by the computer.
       
--->sourcecode--->java compiler--->bytecode--->javainterpreter--->machinecode

     This shows the steps involved in executing a java pragram.

No comments:

Post a Comment

Creating Objects

Creating Objects                  Creating objects means to allocate memory space for all the instance variables of the objects. S...