Created
December 11, 2015 01:23
-
-
Save franksands/ff628d1b420134082228 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
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