Package edu.nwmissouri.animalList
Class Liger
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Liger
- Author:
- Revanth Pagilla
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
eat()
double
getLigerAddition
(double valueOne, int valueTwo) void
move()
abstract move() - has no implementationvoid
speak()
abstract speak() - has no implementation
-
Constructor Details
-
Liger
Liger constructor- Parameters:
name
- - the name of this instance of an animal
-
-
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 -
eat
public void eat() -
getLigerAddition
public double getLigerAddition(double valueOne, int valueTwo) - Parameters:
valueOne
- double inputvalueTwo
- int input- Returns:
- double sum
-