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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmove()abstract move() - has no implementationvoidspeak()abstract speak() - has no implementationvoidsum()This method will initialize the values and calls the sumOfNumbers methodintsumOfNumbers(int a, int b)
-
Constructor Details
-
Koala
-
-
Method Details
-
speak
public void speak()Description copied from class:Animalabstract speak() - has no implementation -
move
public void move()Description copied from class:Animalabstract 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)
-