public enum Fruit {
APPLE,
ORANGE,
BANANA,
PEAR;
public int getEight() {
return eight;
}
public void setEight(int eight) {
this.eight = eight;
}
private int eight;
Fruit(int eight) {
this.eight = eight;
}
}