Created
November 11, 2013 01:02
-
-
Save cpw/7406140 to your computer and use it in GitHub Desktop.
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
interface Pepper { | |
String boo(); | |
} | |
public enum Fish implements Pepper { | |
VAL1() { | |
public String boo() { | |
System.out.println("hi"); | |
} | |
}, | |
VAL2() { | |
public String boo() { | |
System.out.println("bah"); | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment