Class TauntingTiger

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

public class TauntingTiger extends Animal
This Class extends Animal class
Author:
Sarath Arrepu
  • Field Summary

    Fields inherited from class edu.nwmissouri.animalList.Animal

    gender, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    This is the parametrized constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    amul(double a, double b)
    This method returns value by multiplying two values
    double
    amuladd(double a, double b)
    This method returns value by adding two values
    void
    eat()
    This method is about the animal eating
    void
    This method is about the animal movement
    void
    This method is about the animal speaking
    void
    This method is about the animal type

    Methods inherited from class edu.nwmissouri.animalList.Animal

    getGender, getName, setGender

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TauntingTiger

      public TauntingTiger(String name)
      This is the parametrized constructor
      Parameters:
      name -
  • Method Details

    • speak

      public void speak()
      This method is about the animal speaking
      Specified by:
      speak in class Animal
    • move

      public void move()
      This method is about the animal movement
      Specified by:
      move in class Animal
    • amul

      public double amul(double a, double b)
      This method returns value by multiplying two values
    • amuladd

      public double amuladd(double a, double b)
      This method returns value by adding two values
    • eat

      public void eat()
      This method is about the animal eating
    • type

      public void type()
      This method is about the animal type