Package edu.nwmissouri.animalList
Class Cow
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Cow
Cow class (derived subclass of the superclass Animal)
- Author:
 - Harika_Chintala
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Cow
Cow Constructor- Parameters:
 name- - the name of this cow
 
 - 
 - 
Method Details
- 
eat
public void eat() - 
speak
public void speak()Description copied from class:Animalabstract speak() - has no implementation - 
child
public void child() - 
color
public void color() - 
move
public void move()Description copied from class:Animalabstract move() - has no implementation - 
getCowAddition
public double getCowAddition(double morningMilkProdection, double eveningMilkProduction) - Parameters:
 morningMilkProdection- is of type doubleeveningMilkProduction- is of type double- Returns:
 - double value
 
 - 
studentCow
public void studentCow() - 
directionToGo
 
 -