Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aniliashenko committed Oct 6, 2024
1 parent b70bbd8 commit 12f7780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/core/basesyntax/Excavator.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package core.basesyntax;

public class Excavator extends Machine{

@Override
public void doWork() {
System.out.println("Excavator started working.");
Expand Down
1 change: 1 addition & 0 deletions src/main/java/core/basesyntax/Machine.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

public abstract class Machine {
public abstract void doWork();

public abstract void stopWork();
}

0 comments on commit 12f7780

Please sign in to comment.