Skip to content

Instantly share code, notes, and snippets.

@mythnc
Created March 15, 2016 15:58
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 mythnc/fed6547808c651863d80 to your computer and use it in GitHub Desktop.
Save mythnc/fed6547808c651863d80 to your computer and use it in GitHub Desktop.
Hello world
import static java.lang.System.*;
public class Hello implements IHello {
@Override
public void output() {
out.println("Hello world");
}
public static void main (String[] args) {
Hello hello = new Hello();
hello.output();
}
}
public interface IHello {
void output();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment