/** * Prints a welcome message to the console. * *@Author Anthony Larrain *@Version 1 Summer 2000 */ class Welcome1{ public static void main(String [] args ){ System.out.println("Welcome To Java !"); } } /* NOTES: * Java programs are built from classes. * Welcome1 is the name of the above class * Class names should begin with an uppercase letter * Everything in Java lives inside a class definition. * The Welcome1 class has one member called main * main is an example of a method * Methods typically expect us to pass information to them * The piece of information that we are sending to the println method is the * String ... Welcome To Java. * A sequence of characters enclosed in quotes "" makes a String * A java class can and usually will contain more than one member * The start of a Java application begins in the main method * System is the name of a class * out is the name of an object * println is the name of a method * Objects and methods should begin with lowercase */