We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
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.
|