Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Lion class
package com.skiabox.java_apps2;
/**
* Created by administrator on 09/10/2016.
*/
public class Lion extends Feline{
//Lion methods
@Override
public void makeNoise() {
System.out.println("The lion is growling");
}
@Override
public void eat() {
System.out.println("The lion is eating " + Food.MEAT);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment