Skip to content

Instantly share code, notes, and snippets.



Created Oct 13, 2016
What would you like to do?
Dog class
package com.skiabox.java_apps2;
* Created by administrator on 10/10/2016.
public class Dog extends Canine{
public void makeNoise() {
System.out.println("The dog barks");
public void eat() {
System.out.println("The dog is eating " + Food.GRASS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.