Skip to content

Commit

Permalink
This HW is done
Browse files Browse the repository at this point in the history
  • Loading branch information
dantesworld committed Dec 9, 2024
1 parent bcbfc76 commit c6b2a50
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
8 changes: 2 additions & 6 deletions src/main/java/core/basesyntax/Bulldozer.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ public class Bulldozer extends Machine {

@Override
public void doWork() {

System.out.println("Certain machine started its work.");

System.out.println("Bulldozer started its work");
}

@Override
public void stopWork() {

System.out.println("Certain machine stopped working.");

System.out.println("Bulldozer stopped working.");
}
}
8 changes: 2 additions & 6 deletions src/main/java/core/basesyntax/Excavator.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ public class Excavator extends Machine {

@Override
public void doWork() {

System.out.println("Certain machine started its work.");

System.out.println("Excavator started its work.");
}

@Override
public void stopWork() {

System.out.println("Certain machine stopped working.");

System.out.println("Excavator stopped working.");
}
}
8 changes: 2 additions & 6 deletions src/main/java/core/basesyntax/Truck.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ public class Truck extends Machine {

@Override
public void doWork() {

System.out.println("Certain machine started its work.");

System.out.println("Truck started its work.");
}

@Override
public void stopWork() {

System.out.println("Certain machine stopped working.");

System.out.println("Truck stopped working.");
}
}

0 comments on commit c6b2a50

Please sign in to comment.