First Program in Java: Printing a Line of Text
// Text-printing program.
// Text-printing program.
public class Welcome1 { // main method begins execution of Java application public static void main( String args[] ) {
System.out.println( "Welcome to Java Programming!" );
} // end method main
} // end class Welcome1
No comments:
Post a Comment