Java Code Execution

  •   In java source code is compiled by java language  compiler (JLC) and an intermediately code is generated known as byte code
  • This byte code is platform independent, which can be executed on any
  • Machine and in any operating system where JVM (Java Virtual Machine) is available
  • JVM Converts the byte code in to Native Code


           JLC: - Java Language Compiler. 

           JVM: -Java Virtual Machine
  • JVM is not a hardware component rather it is a software component on tool
  • Sun Company designed, separate JVM for each Operating System, so that byte code is able to run in any operating system
  •   If there is no JVM compatible for any Operating System Byte Code cannot be run in that Operating System
 

No comments:

Post a Comment

Translate