2024-10-21 18:52:25 +02:00
|
|
|
public class Kunden {
|
|
|
|
private String name;
|
2024-10-21 18:25:45 +02:00
|
|
|
private String adresse;
|
|
|
|
|
2024-10-21 18:52:25 +02:00
|
|
|
public Kunden(String name, String adresse) {
|
|
|
|
this.name = name;
|
2024-10-21 18:25:45 +02:00
|
|
|
this.adresse = adresse;
|
|
|
|
}
|
|
|
|
|
2024-10-21 18:52:25 +02:00
|
|
|
@Override
|
|
|
|
public String toString() {
|
|
|
|
return "Name: " + name + ", Adresse: " + adresse;
|
2024-10-21 18:25:45 +02:00
|
|
|
}
|
|
|
|
}
|