|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object demo.Elain demo.Elain.Kissa
public static class Elain.Kissa
Kissa-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.Kissa(java.lang.String nimi,
double paino)
Alustetaan kissa |
Method Summary | |
---|---|
void |
aantele()
Kissa ääntelee sanomalla Miauu |
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.Kissa(java.lang.String nimi, double paino)
nimi
- kissan nimipaino
- kissan 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 |