//******************************************************************** // Class Name: Hello // Assignment: Lab #2, The (in)famous Hello World program // // Author Name: Your Name REPLACE with YOUR info // Email: youremail@calpoly.edu and ADD your name to // URL: www.calpoly.edu/~yourlogin/ the HISTORY below if // UNIX home: /home/yourpath/yourhomedir you make any CHANGES. // // Course: CSC/CPE 101 ALSO update these // Section: Prof Scheftic's lines with your // Term: ongoing own specific information // School: California Polytechnic State University // Address: San Luis Obispo, CA 93407 USA // // History: // A long time ago original version by an unknown author // 3/20/2000 prepared for CSC 101, M. Liu // 1/14/2001 modified for CSC/CPE-101, C. Scheftic: // expanded documentation to fit course template // //******************************************************************** // // Program Description and Design Overview: // This program generates the proverbial programmer's test message: // "Hello World!" // // Input Requirements: // None. // // Output Requirements: // First line: blank line // Second line: Hello, world! // Third line: blank line // // Variables Used: // None. // // Included Methods: // main(String[]) // // Imported Methods: // System.out.println(String) // // Program Assumptions: // None. // // Pending Problems: // None known as of 14 Jan 2001. // //******************************************************************** public class Hello { public static void main (String args[]) { System.out.println("\nHello, world!\n"); } // end main } // end Hello