|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttips.polymorph.Pet
A Pet base class for the purposes of this little test. This class has some pet like features
TODO In the real world Pet should be abstract
| Field Summary | |
(package private) int |
nAmount
|
| Constructor Summary | |
Pet()
Create a Pet |
|
| Method Summary | |
Pet |
eat()
A bad function.... |
void |
petFunction()
|
void |
scratch()
Our Pet is scratching |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
int nAmount
| Constructor Detail |
public Pet()
| Method Detail |
public void petFunction()
public void scratch()
public Pet eat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||