|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectKontoS
public class KontoS
Konto version S. This class is serializable. Uses synchronized methods to display, add and remove money from the account.
Field Summary | |
---|---|
private double |
stand
|
Constructor Summary | |
---|---|
KontoS()
|
|
KontoS(double a)
|
Method Summary | |
---|---|
double |
getGeld(double b)
getGeld. |
double |
putGeld(double b)
putGeld. |
double |
zeigeGeld()
zeigeGeld. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double stand
Constructor Detail |
---|
public KontoS()
public KontoS(double a)
Method Detail |
---|
public double zeigeGeld()
Konto
zeigeGeld
in interface Konto
public double putGeld(double b)
Konto
putGeld
in interface Konto
b
- amount to put on account.
public double getGeld(double b)
Konto
getGeld
in interface Konto
b
- A Double, amount to get from account.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |