|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Elain | +--KoiraP
KoiraP-luokka peritty eläimestä ja esimerkki polymorfismista
Field Summary |
Fields inherited from class Elain |
|
Constructor Summary | |
KoiraP(java.lang.String nimi,
double paino)
|
Method Summary | |
void |
aantele()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class Elain |
tulosta |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KoiraP(java.lang.String nimi, double paino)
Method Detail |
public void aantele()
aantele
in class Elain
public static void main(java.lang.String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |