Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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