|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttips.casting.Fruit
Base class for the encapsulation of fruit.
| Field Summary | |
protected int |
numSeeds
|
| Constructor Summary | |
Fruit()
Creates a new instance of Fruit |
|
| Method Summary | |
(package private) int |
getNumSeeds()
Return the number of seeds in this piece of fruit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int numSeeds
| Constructor Detail |
public Fruit()
| Method Detail |
int getNumSeeds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||