Ubgrade 28.11

master
david 2022-11-28 12:59:36 +01:00 committed by freverda
parent 83be8352f0
commit 2fd23c2534
2 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,7 @@
public class Ausgabe public class Ausgabe
{ {
public static void AutoObjekte(int r, int t, int rü, int d){ public static void AutoObjekte(int r, int t, int rü, int d){
Auto Mercedes = new Auto(r, t, rü, d);
Mercedes.Ausgabe();
} }

View File

@ -34,6 +34,7 @@ public class Auto
System.out.println("Geschwindigkeit:"+ Geschwindigkeit); System.out.println("Geschwindigkeit:"+ Geschwindigkeit);
System.out.println("PS:"+ PS); System.out.println("PS:"+ PS);
System.out.println("Verbrauch"+ Verbrauch); System.out.println("Verbrauch"+ Verbrauch);
} }
} }