finish class Kunde

main
Lukas Klipfel 2025-12-14 19:30:16 +01:00
parent 0ef1667de0
commit 61d5abb601
3 changed files with 15 additions and 1 deletions

View File

@ -8,4 +8,9 @@ public class Kunde {
this.name = name;
this.Adresse = Adresse;
};
public Kunde(Kunde kunde) {
this.name = kunde.name;
this.Adresse = kunde.Adresse;
};
}

View File

@ -20,6 +20,12 @@ public class Produkt {
};
public void UpdateProdukt(Produkt update) {
this.id = update.id;
this.name = update.name;
this.transportGewicht = update.transportGewicht;
this.netto = update.netto;
this.mwStSatz = update.mwStSatz;
this.lagerbestand = update.lagerbestand;
};
public int BruttoPreis() {

View File

@ -13,4 +13,7 @@ Time Chart:
0:40 for Creating Java project with UML defined Classes.
0:06 creating constructors
0:06 creating constructors
0:02 finish Kunde