hw2
Class HelloWorld

java.lang.Object
  extended by hw2.HelloWorld

public class HelloWorld
extends Object

HelloWorld is an implementation of the token introductory "Hello World" program. HelloWorld is also the superclass for other classes in this package.


Constructor Summary
HelloWorld()
           
 
Method Summary
 String getGreeting()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorld

public HelloWorld()
Method Detail

main

public static void main(String[] args)
Effects:
prints the string "Hello World!" to the console

getGreeting

public String getGreeting()
Returns:
Returns a greeting (in English).