Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
merchant-of-venice
public interface Prickable {
void prick();
boolean isBleeding();
}
public interface Ticklable {
void tickle();
boolean isLaughing();
}
public interface Poisonable {
void poison();
boolean isDead();
}
public interface Wrongable {
void wrong();
boolean isSeekingRevenge();
}
public interface Christian extends Prickable, Ticklable, Poisonable, Wrongable {
}
public interface Jew extends Prickable, Ticklable, Poisonable, Wrongable {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment