Online_schop/Kunden.java

15 lines
301 B
Java
Raw Normal View History

public class Kunden {
private String name;
private String adresse;
public Kunden(String name, String adresse) {
this.name = name;
this.adresse = adresse;
}
@Override
public String toString() {
return "Name: " + name + ", Adresse: " + adresse;
}
}