Package edu.nwmissouri.animalList
Class Kangaroov
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Kangaroov
- Author:
- Satya Sai Vinuthna Tummala
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
confess()
double
getKangaroovAddition
(double valueOne, int valueTwo) Custom getKangaroovAddtion functionvoid
move()
abstract move() - has no implementationvoid
speak()
abstract speak() - has no implementation
-
Constructor Details
-
Kangaroov
Kangaroo Constructor- Parameters:
name
- - the name of this Kangaroov
-
-
Method Details
-
move
public void move()Description copied from class:Animal
abstract move() - has no implementation -
speak
public void speak()Description copied from class:Animal
abstract speak() - has no implementation -
confess
public void confess() -
getKangaroovAddition
public double getKangaroovAddition(double valueOne, int valueTwo) Custom getKangaroovAddtion function- Parameters:
valueOne
- double inputvalueTwo
- int input- Returns:
- double sum
-