ps0
Class HelloWorld

java.lang.Object
  extended by ps0.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
Constructor and Description
HelloWorld()
           
 
Method Summary
Modifier and Type Method and Description
 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).