Class Xraytetra

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

public class Xraytetra extends Animal
Author:
S545113
  • Constructor Details

    • Xraytetra

      public Xraytetra(String name)
  • Method Details

    • speak

      public void speak()
      This is speak method which is used to to print the message print the statement
      Specified by:
      speak in class Animal
    • move

      public void move()
      This is move method which is used to to print the message print the statement
      Specified by:
      move in class Animal
    • location

      public void location()
      location function
    • character

      public void character()
      character function
    • profess

      public void profess()
      profess function
    • getXraytetraAddition

      public double getXraytetraAddition(double valueOne, int valueTwo)
      Custom getXraytetraAddtion function
      Parameters:
      valueOne -
      valueTwo -
      Returns:
      double - sum