Pages - GamesandApps

My First Java Program

If you want to start java programming, you must start from a program like this first and compile it. This will start your Java Programming session. Make sure you have developer java (Java SDK) installed on your system. Here's the code compile as .java

public class
  public static void main( String a[])
    System.out.print("Welcome to Java");

It will work fine and display the output:-
Welcome to Java

No comments:

Post a Comment