Package edu.nwmissouri.animalList
Class Frog
java.lang.Object
edu.nwmissouri.animalList.Animal
edu.nwmissouri.animalList.Frog
- Author:
- Manoj Kota
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Frog
-
-
Method Details
-
speak
public void speak()overrides speak method -
move
public void move()overrides move method -
habitate
public void habitate()living method -
type
public void type()type of animal -
feeding
public void feeding()feeding method -
livespan
public void livespan()live span method -
age
public int age(int DOB, int cuy) - Parameters:
DOB
- DOB parametercuy
- current age parameter- Returns:
-
agec
public void agec()returns agec method
-