Index

C F G M S 
All Classes and Interfaces|All Packages

C

Chicken - Class in Unnamed Package
A Java class that represents a Chicken.
Chicken(String, int, double) - Constructor for class Chicken
Constructs a new Chicken object with the characteristics as specified by the parameters.

F

feed() - Method in class Chicken
Feeds the chicken, increasing the chicken's weight and height

G

getHeight() - Method in class Chicken
Returns the chicken's height, in centimeters
getName() - Method in class Chicken
Returns the chicken's name
getWeight() - Method in class Chicken
Returns the chicken's weight, in pounds

M

main(String[]) - Static method in class Chicken
Tests the Chicken class

S

setName(String) - Method in class Chicken
Sets the name of the chicken, only if the given name is not empty.
C F G M S 
All Classes and Interfaces|All Packages