File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,23 @@ public int getSeats() {
1414 public void doATurboBoost () {
1515 speed *= 2 ;
1616 System .out .println (
17- getMake () + " " + getModel () + " macht einen Turboboost und beschleunigt auf " + speed + " km/h" );
17+ getMake ()
18+ + " "
19+ + getModel ()
20+ + " macht einen Turboboost und beschleunigt auf "
21+ + speed
22+ + " km/h" );
1823 }
1924
2025 public void print () {
2126 System .out .println (
22- getMake () + " " + getModel () + " (" + getEngine ().getDescription () + ", " + seats + " Sitzplaetze)" );
27+ getMake ()
28+ + " "
29+ + getModel ()
30+ + " ("
31+ + getEngine ().getDescription ()
32+ + ", "
33+ + seats
34+ + " Sitzplaetze)" );
2335 }
2436}
Original file line number Diff line number Diff line change @@ -19,14 +19,16 @@ public boolean isTransformed() {
1919 public void transform () {
2020 if (isTransformed ) {
2121 isTransformed = false ;
22- System .out .println (getMake () + " " + getModel () + " verwandelt sich in einen Lastwagen zurueck" );
22+ System .out .println (
23+ getMake () + " " + getModel () + " verwandelt sich in einen Lastwagen zurueck" );
2324 } else {
2425 isTransformed = true ;
2526 System .out .println (getMake () + " " + getModel () + " verwandelt sich in einen Autobot" );
2627 }
2728 }
2829
2930 public void print () {
30- System .out .println (getMake () + " " + getModel () + " (" + getEngine ().getDescription () + ", " + cargo + "t)" );
31+ System .out .println (
32+ getMake () + " " + getModel () + " (" + getEngine ().getDescription () + ", " + cargo + "t)" );
3133 }
3234}
You can’t perform that action at this time.
0 commit comments