boolean auszahlen(double betrag) {
if (super.kontostand >= betrag) {
super.kontostand += betrag;
return true;
}
return false;
}
void auszahlen(double betrag) {
if (super.kontostand < betrag) {
throw new IllegalArgumentException("not possible");
}
super.kontostand += betrag;
}