Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class Fahrzeug {
private String marke;
private String modell;
private int maxkmh;
public Fahrzeug(String marke, String modell, int maxkmh){
this.marke = marke;
this.modell = modell;
this.maxkmh = maxkmh;
}
public String getMarke(){
return this.marke;
}
public String getModell(){
return this.modell;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment