Class Koala

java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Koala

public class Koala extends Animal
This class defines the nature of the koala
Author:
Vinay Manavarthi (S545225)
  • Constructor Details

    • Koala

      public Koala(String name)
  • Method Details

    • speak

      public void speak()
      Description copied from class: Animal
      abstract speak() - has no implementation
      Specified by:
      speak in class Animal
    • move

      public void move()
      Description copied from class: Animal
      abstract move() - has no implementation
      Specified by:
      move in class Animal
    • sum

      public void sum()
      This method will initialize the values and calls the sumOfNumbers method
    • sumOfNumbers

      public int sumOfNumbers(int a, int b)