Thursday, 4 October 2012

Java Online Tutorial 1

Java  Training  in  Coimbatore  |  Java  Jobs  in  Coimbatore  |  Java  IEEE  Projects  in  Coimbatore   and  Java  Final  Projects  in  Coimbatore
 Your First Program
  1. Open notepad
  2. Save the file.
  3. Open a command prompt and open your directory.
  4.  javac
  5. Now type ' java yourprogramname' and press enter
  6. then you able to see your answer

    How to compile java program

    C:/> javac

    To execute 

    C:/>java filename

    Output Statement

    System.out.println("your statement here");

    Your first java program coding

    class murugan{
      public static void main (String args[])
                 System.out.println("your Statment here");

    //Their output will be

    your statement here

No comments:

Post a Comment