Package edu.nwmissouri.animalList
Class SunBear
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.SunBear
This class defines the nature of the SunBear animal
- Author:
- Satish Vagulapuram (S544905)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add()
double
getSunBearAddition
(double valueOne, int valueTwo) Custom SunBear functionvoid
move()
abstract move() - has no implementationvoid
speak()
Overriding speak method extended from animal
-
Constructor Details
-
SunBear
-
-
Method Details
-
speak
public void speak()Overriding speak method extended from animal -
move
public void move()Description copied from class:Animal
abstract move() - has no implementation -
add
public void add() -
getSunBearAddition
public double getSunBearAddition(double valueOne, int valueTwo) Custom SunBear function- Parameters:
valueOne
- double inputvalueTwo
- int input- Returns:
- double sum
-