Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class FlyableHumans extends Humans {
- public void fly() {
- //implement fly
- }
- }
- public class IronMan extends FlyableHumans {
- //implement Iron Man
- }
- public class WarMachine extends FlyableHumans {
- //implement war machine
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement