Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created August 11, 2020 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/019f97ef1357b5c8ffe2cdbabe395436 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/019f97ef1357b5c8ffe2cdbabe395436 to your computer and use it in GitHub Desktop.
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