Package edu.nwmissouri.animalList
Class Hippopotamus
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Hippopotamus
- Author:
- Indu Chinthakuntla
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
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 creativevoid
move()
abstract move() - has no implementationvoid
profess()
void
speak()
abstract speak() - has no implementation
-
Constructor Details
-
Hippopotamus
-
-
Method Details
-
speak
public void speak()Description copied from class:Animal
abstract speak() - has no implementation -
move
public void move()Description copied from class:Animal
abstract move() - has no implementation -
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 inputvalueTwo
- int input- Returns:
- double sum
-