C:\jhtp_10th\ch02>java Welcome4 Welcome to Java Programming!
Welcome4.java// Fig. 2.6: Welcome4.java
// Displaying multiple lines with method System.out.printf.
public class Welcome4
{
// main method begins execution of Java application
public static void main( String[] args )
{
System.out.printf( "%s\n%s\n",
"Welcome to", "Java Programming!" );
} // end method main
} // end class Welcome4
Maintained by John Loomis, updated Sun Jan 22 23:02:04 2017