Created
June 13, 2011 15:55
-
-
Save YujiSoftware/1023051 to your computer and use it in GitHub Desktop.
FINAL FANTASY 7
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
package ff; | |
public class FF7 { | |
private static final Fantasy VII = new Cloud("興味ないね"); | |
public static interface Fantasy { | |
} | |
public static class Sephiroth implements Fantasy { | |
} | |
public static class Cloud extends Sephiroth { | |
private final String text; | |
public Cloud(final String text) { | |
this.text = text; | |
} | |
@Override | |
public String toString() { | |
return text; | |
} | |
} | |
public static void main(String[] args) { | |
System.out.println(VII); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment