Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Forked from anonymous/gist:5454145
Last active December 16, 2015 15:09
Show Gist options
  • Save tbuehlmann/5454204 to your computer and use it in GitHub Desktop.
Save tbuehlmann/5454204 to your computer and use it in GitHub Desktop.
class HelloTestObject {
String st;
HelloTestObject(String st) {
this.st = st;
}
void speak() {
System.out.println(st);
}
}
class deleteme {
public static void main (String[] args) {
HelloTestObject a=new HelloTestObject("printme!");
a.speak();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment