ahhhhhhhhhhhh
This commit is contained in:
parent
7836821c51
commit
7663a81750
50 changed files with 860 additions and 341 deletions
17
Code/Steiner/hotelBookKeeping/src/Waehrung.java
Normal file
17
Code/Steiner/hotelBookKeeping/src/Waehrung.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
abstract class Waehrung {
|
||||
private double betrag;
|
||||
|
||||
public Waehrung(double betrag) {
|
||||
this.betrag = betrag;
|
||||
}
|
||||
|
||||
public double getBetrag() {
|
||||
return betrag;
|
||||
}
|
||||
|
||||
public void setBetrag(double betrag) {
|
||||
this.betrag = betrag;
|
||||
}
|
||||
|
||||
public abstract double dollarBetrag();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue