Class Goat

java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Goat

public class Goat extends Animal
Author:
Rohan Kondaveeti
  • Constructor Details

    • Goat

      public Goat(String name)
  • Method Details

    • speak

      public void speak()
      Description copied from class: Animal
      abstract speak() - has no implementation
      Specified by:
      speak in class Animal
    • move

      public void move()
      Description copied from class: Animal
      abstract move() - has no implementation
      Specified by:
      move in class Animal
    • eat

      public void eat()
    • child

      public void child()
    • color

      public void color()