Skip to content

Commit

Permalink
Added Machine, added Truck, Bulldozer, and Excavator that inherit fro…
Browse files Browse the repository at this point in the history
…m Machine. Call doWork and stopWork
  • Loading branch information
acidcor committed Dec 12, 2024
1 parent 0c81ce0 commit f7fa9c0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/core/basesyntax/Bulldozer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package core.basesyntax;

public class Bulldozer {
}
4 changes: 4 additions & 0 deletions src/main/java/core/basesyntax/Excavator.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package core.basesyntax;

public class Excavator {
}
4 changes: 4 additions & 0 deletions src/main/java/core/basesyntax/Machine.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package core.basesyntax;

public class Machine {
}
4 changes: 4 additions & 0 deletions src/main/java/core/basesyntax/Truck.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package core.basesyntax;

public class Truck {
}

0 comments on commit f7fa9c0

Please sign in to comment.