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