Skip to content

Instantly share code, notes, and snippets.

@samt
Created September 8, 2010 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samt/570696 to your computer and use it in GitHub Desktop.
Save samt/570696 to your computer and use it in GitHub Desktop.
public class HelloWorld
{
String output = "";
static HelloWorld helloObj;
public HelloWorld()
{
output = "Hello World";
}
public String printMessage()
{
return output;
}
public static void main (String args[])
{
helloObj = new HelloWorld();
System.out.println(helloObj.printMessage());
}
}
@katanacrimson
Copy link

don't forget:

rm -fr /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment