Created
March 15, 2016 15:58
-
-
Save mythnc/fed6547808c651863d80 to your computer and use it in GitHub Desktop.
Hello world
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IHello { | |
void output(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment