Skip to content

Instantly share code, notes, and snippets.

@yuba
Created February 26, 2016 08:44
Show Gist options
  • Save yuba/ffdc2aa1bca12d0c52a6 to your computer and use it in GitHub Desktop.
Save yuba/ffdc2aa1bca12d0c52a6 to your computer and use it in GitHub Desktop.
Java8ならinterfaceもメインクラスにできるぞ ref: http://qiita.com/yuba/items/ddf69793fe5708a36be6
interface Test {
static void main (String[] args){
System.out.println("hello, world.");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment