Class Cow


public class Cow extends Mammal
This class represents a cow.
  • Constructor Details

  • Method Details

    • says

      public String says()
      Description copied from class: Animal
      Returns the sound that this animal makes.
      Specified by:
      says in class Animal