This commit is contained in:
Mykola Fesenko
2025-07-29 08:08:23 +02:00
commit 899a05907b
355 changed files with 11002 additions and 0 deletions

39
12/Sparkonto.java Normal file
View File

@@ -0,0 +1,39 @@
/**
*
* Beschreibung
*
* @version 1.0 vom 06.05.2025
* @author
*/
public class Sparkonto extends Konto {
// Anfang Attribute
private double zins;
private double monatlichLimit;
// Ende Attribute
public Sparkonto(int kontonr, double kontostand) {
super(kontonr,kontostand);
}
// Anfang Methoden
public double getZins() {
return zins;
}
public void setZins(double zinsNeu) {
zins = zinsNeu;
}
public void zinsBerechnen() {
// TODO hier Quelltext einfügen
}
public double getMonatlichLimit() {
return monatlichLimit;
}
// Ende Methoden
} // end of Sparkonto