Sunday 8 December 2013

Java Program Development Compilation and Execution Procedure


  • In java programming language all source code is first written in plain text file ending with the java extension.
  • Those source files are then compiled into class files by the java compiler.
  • A class file doesn't contain code that is native to the processor.
  • It instead contains byte codes the native language of the java virtual machine(JVM).
  •  The java launcher tool then runs your application with an instance of the java virtual machine
Below Commands we must use for compilation and execution 
  • javac abc.java (java file)
                  abc.class
  • java abc
                   output.

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More