Created
October 13, 2016 22:55
-
-
Save skiabox/d43fcb60ddecf250798ad7688cc906f9 to your computer and use it in GitHub Desktop.
Tiger class
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
package com.skiabox.java_apps2; | |
/** | |
* Created by administrator on 10/10/2016. | |
*/ | |
public class Tiger extends Feline{ | |
@Override | |
public void makeNoise() { | |
System.out.println("The tiger is growling"); | |
} | |
@Override | |
public void eat() { | |
System.out.println("The tiger is eating" + Food.MEAT); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment