Class Lioness

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

public class Lioness extends Animal
This is lioness class which is extended from Animal Class
Author:
Sreebharath Mallampati
  • Method Details

    • speak

      public void speak()
      This is a speak method
      Specified by:
      speak in class Animal
    • move

      public void move()
      This method is used to print the moving nature
      Specified by:
      move in class Animal
    • repeatStrings

      public String repeatStrings(int times, String word)
    • checkRepetition

      public String checkRepetition()