Created
August 11, 2020 09:23
-
-
Save BMU-Verlag/1fc3ef18df0d2d86f5f7652730a3a37e 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 Motorrad extends Fahrzeug { | |
private final int raeder = 2; | |
private String takt; | |
public Motorrad(String marke, String modell, int maxkmh, String takt){ | |
super(marke, modell, maxkmh); | |
this.takt = takt; | |
} | |
public int getRaeder(){ | |
return this.raeder; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment