Package edu.nwmissouri.animalList
Class FerociousTiger
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.FerociousTiger
FerociousTiger class extends from parent class Animal
- Author:
- Saitej Veerabathini
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfamily()Family method of FerociousTigerintgetTotalSleep(int a, int b) voidlifespan()Lifespan method of FerociousTigervoidmove()Override method for FerociousTiger Movevoidsleep()voidspeak()Override method for FerociousTiger Speakvoidtype()Type method of FerociousTiger
-
Constructor Details
-
FerociousTiger
Constructor for FerociousTiger- Parameters:
name- - the name of this FerociousTiger
-
-
Method Details
-
speak
public void speak()Override method for FerociousTiger Speak -
move
public void move()Override method for FerociousTiger Move -
type
public void type()Type method of FerociousTiger -
lifespan
public void lifespan()Lifespan method of FerociousTiger -
family
public void family()Family method of FerociousTiger -
getTotalSleep
public int getTotalSleep(int a, int b) -
sleep
public void sleep()
-