Class Hippopotamus

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

public class Hippopotamus extends Animal
Author:
Indu Chinthakuntla
  • Constructor Details

    • Hippopotamus

      public Hippopotamus(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
    • profess

      public void profess()
    • getHippopotamusAddition

      public double getHippopotamusAddition(double valueOne, int valueTwo)
      Custom Hippopotamus function - your class must use a unique function name unique first parameter identifier unique second parameter identifier do something creative
      Parameters:
      valueOne - double input
      valueTwo - int input
      Returns:
      double sum