Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created August 11, 2020 09:05
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/30b9d6c975a50bf67ae6f2aefb8f7f25 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/30b9d6c975a50bf67ae6f2aefb8f7f25 to your computer and use it in GitHub Desktop.
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