Package edu.nwmissouri.animalList
Class Koala
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Koala
This class defines the nature of the koala
- Author:
- Vinay Manavarthi (S545225)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
move()
abstract move() - has no implementationvoid
speak()
abstract speak() - has no implementationvoid
sum()
This method will initialize the values and calls the sumOfNumbers methodint
sumOfNumbers
(int a, int b)
-
Constructor Details
-
Koala
-
-
Method Details
-
speak
public void speak()Description copied from class:Animal
abstract speak() - has no implementation -
move
public void move()Description copied from class:Animal
abstract move() - has no implementation -
sum
public void sum()This method will initialize the values and calls the sumOfNumbers method -
sumOfNumbers
public int sumOfNumbers(int a, int b)
-