Women in Technology

Hear us Roar



Article:
  Rethinking the Java Curriculum: Goodbye, HelloWorld!
Subject:   What HelloWorld is good for
Date:   2003-04-21 09:54:22
From:   anonymous2
Response to: What HelloWorld is good for

So why not write an OOP version of Hello World
such as


public class HelloWorld
{
public void displayMessage()
{
System.out.println("Hello World");
}
}


Now create a HelloWorld object in BlueJ and
invoke its displayMessage method.