|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object demo.Elain demo.Elain.Kotka
public static class Elain.Kotka
Kotka-luokka jossa on oma ääntele-metodi
Nested Class Summary |
---|
Nested classes/interfaces inherited from class demo.Elain |
---|
Elain.Kissa, Elain.Koira, Elain.Kotka |
Constructor Summary | |
---|---|
Elain.Kotka(java.lang.String nimi,
double paino)
Alustetaan kotka |
Method Summary | |
---|---|
void |
aantele()
Kotka ääntelee sanomalla Kriik kriik |
Methods inherited from class demo.Elain |
---|
tulosta |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Elain.Kotka(java.lang.String nimi, double paino)
nimi
- kotkan nimipaino
- kotkan painoMethod Detail |
---|
public void aantele()
aantele
in class Elain
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |