Package edu.nwmissouri.animalList
Class Aardvark
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Aardvark
- All Implemented Interfaces:
 Runnable
Aardvark class (derived subclass of the superclass Animal)
- Author:
 - Dr. Case
 
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublegetAardvarkAddition(double valueOne, int valueTwo) Custom Aardvark function - your class must use a unique function name unique first parameter identifier unique second parameter identifier do something creativeintgetAge()doublebooleanvoidmove()abstract move() - has no implementationvoidprofess()voidrun()An instance of an Aardvark is now Runnable - call this run() method to see all the Aardvark tricks.voidsetAge(int age) voidsetIsAlive(boolean isAlive) voidsetWeight_pounds(double weight_pounds) voidspeak()abstract speak() - has no implementationtoString() 
- 
Constructor Details
- 
Aardvark
Aardvark constructor- Parameters:
 name- - the name of this aardvark
 
 - 
 - 
Method Details
- 
isIsAlive
public boolean isIsAlive() - 
setIsAlive
public void setIsAlive(boolean isAlive)  - 
getAge
public int getAge() - 
setAge
public void setAge(int age)  - 
getWeight_pounds
public double getWeight_pounds() - 
setWeight_pounds
public void setWeight_pounds(double weight_pounds)  - 
toString
 - 
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 - 
profess
public void profess() - 
getAardvarkAddition
public double getAardvarkAddition(double valueOne, int valueTwo) Custom Aardvark 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
 
 - 
run
public void run()An instance of an Aardvark is now Runnable - call this run() method to see all the Aardvark tricks. 
 -