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 TypeMethodDescriptionvoid
family()
Family method of FerociousTigerint
getTotalSleep
(int a, int b) void
lifespan()
Lifespan method of FerociousTigervoid
move()
Override method for FerociousTiger Movevoid
sleep()
void
speak()
Override method for FerociousTiger Speakvoid
type()
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()
-