|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Animal | +--Sessile | +--LongLivedSessile | +--Oyster
This class provides ability to print O for Oyster objects and creates new Oyster objects for reproduction
Constructor Summary | |
Oyster()
|
Method Summary | |
LongLivedSessile |
getNewLongLivedSessile()
provides new Oyster object for reproduction function in ancestor class |
char |
getPrintChar()
provides print character for Oyster object |
Methods inherited from class LongLivedSessile |
laysEggs |
Methods inherited from class Sessile |
makeMove |
Methods inherited from class Animal |
getAge,
getmaxAge,
incrAge,
setmaxAge,
timeToDie |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Oyster()
Method Detail |
public char getPrintChar()
public LongLivedSessile getNewLongLivedSessile()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |