Friday, May 1, 2015

// // Leave a Comment

Hello World

First Java Program with step by step compilation process:

  1. Open your notepad and write Java program
        public class HelloJava {
                  public static void main(String args[]) {
                       System.out.println("Welcome to ease2code.com");
                                                               //this will print your Message.
            }
          }

    2. Save above Program with HelloJava.java.
    3. Open command prompt and  setup  the class path.
    4. compile your program with javac compiler and run it.

Note:- Its a Best practice if you use the eclipse IDE for the Programming, because developers use this tool for development. 

0 comments :

Post a Comment