Created
August 11, 2020 09:21
-
-
Save BMU-Verlag/019f97ef1357b5c8ffe2cdbabe395436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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