Skip to content

Instantly share code, notes, and snippets.

@cpw
Created November 11, 2013 01:02
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 cpw/7406140 to your computer and use it in GitHub Desktop.
Save cpw/7406140 to your computer and use it in GitHub Desktop.
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