Index
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 charactistics as specified by the parameters.
F
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
- setHeight(int) - Method in class Chicken
-
Sets the height of the chicken, in cm
- setName(String) - Method in class Chicken
-
Sets the name of the chicken
- setWeight(double) - Method in class Chicken
-
Sets the weight of the chicken, in pounds
All Classes and Interfaces|All Packages