Package edu.nwmissouri.animalList
Class Gerenuk
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Gerenuk
Gerenuk class (derived subclass of the superclass Animal)
- Author:
 - Tejaswini Challa
 
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublegetGerenukAddition(double valueOne, int valueTwo) Custom Gerenuk function - your class must use a unique function name unique first parameter identifier unique second parameter identifier do something creativevoidmove()abstract move() - has no implementationvoidplace()voidprofess()voidsize()voidspeak()abstract speak() - has no implementation 
- 
Constructor Details
- 
Gerenuk
Gerenuk constructor- Parameters:
 name- - the name of this Gerenuk
 
 - 
 - 
Method Details
- 
speak
public void speak()Description copied from class:Animalabstract speak() - has no implementation - 
move
public void move()Description copied from class:Animalabstract move() - has no implementation - 
size
public void size() - 
place
public void place() - 
profess
public void profess() - 
getGerenukAddition
public double getGerenukAddition(double valueOne, int valueTwo) Custom Gerenuk 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
 
 
 -