Monday, 19 September 2016

Compile

Compile

Compiling Java program
  • We need to compile this .java file by using javac command
                             Ex : javac Sample.java
  • Once if you compiled the source code of java program then compiler will generate corresponding .class file for .java file
                            Ex : Sample.java ------->Sample.class
  • This .class file contains byte code instructions, these byte code not understand by microprocessor.
        Thanks for your time.
        Nireekshan