Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class FahrzeugVerwalten{
public static void main(String[] args) {
Auto meinAuto = new Auto(10455, "VW", "Golf");
meinAuto.beschaedigungenEintragen("Delle am rechten Kotflügel");
System.out.println("Kilometerstand: " + meinAuto.kilometerstandAusgeben());
System.out.println("Marke: " + meinAuto.markeAusgeben());
System.out.println("Modell: " + meinAuto.modellAusgeben());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment