Package edu.nwmissouri.animalList
Class Emu
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Emu
This class defines the nature of the Emu animal
- Author:
 - Venkata Prabhakar Takkellapati (S545407)
 
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Emu
 
 - 
 - 
Method Details
- 
speak
public void speak()Determines the animal speak - 
move
public void move()Determines the animal move - 
sumOfTwo
public void sumOfTwo()This method will initialize the values and calls the sum method - 
emuSum
public double emuSum(double first, int second) This method will calculate the sum of two numbers- Parameters:
 first- double value which is passed from sumOfTwo()second- int value which is passed from sumOfTwo()- Returns:
 - it returns the sum of two numbers
 
 
 -