Skip to content

Instantly share code, notes, and snippets.

@franksands
Created December 11, 2015 01:23
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 franksands/ff628d1b420134082228 to your computer and use it in GitHub Desktop.
Save franksands/ff628d1b420134082228 to your computer and use it in GitHub Desktop.
public interface FlyingMonster {
public void fly(int speed);
}
public interface MagicMonster {
public void spendMana(int points);
}
public class Dragon extends LivingThing implements FlyinMonster, MagicMonster {
//class code here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment