First Java Program with step by step compilation process:
public class HelloJava {
public static void main(String args[]) {
System.out.println("Welcome to ease2code.com");
//this will print your Message.
//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.
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