Package edu.nwmissouri.animalList
Class MightyLion
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.MightyLion
This is the MightyLion class This class have move and speak method of Lion
- Author:
- Vijay Kumar Chunchu(S545712)
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getMightyLionAddition
(double valueOne, int valueTwo) void
move()
abstract move() - has no implementationvoid
profess()
void
speak()
abstract speak() - has no implementation
-
Constructor Details
-
MightyLion
-
-
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 -
getMightyLionAddition
public double getMightyLionAddition(double valueOne, int valueTwo) -
profess
public void profess()
-