From bd26bf8eb212587c0046e8d25fcb347158c4be11 Mon Sep 17 00:00:00 2001 From: Maxim Golyak Date: Fri, 4 Oct 2024 14:26:23 +0300 Subject: [PATCH] Created the Bulldozer class. Created the Excavator class. Created the Truck class. Created the abstract Machine class. Created two empty abstract methods and overridden them. Created an instance of the Machine class and displayed information about the transport through a for-each loop --- src/test/java/core/basesyntax/MainAppTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/test/java/core/basesyntax/MainAppTest.java b/src/test/java/core/basesyntax/MainAppTest.java index c3fe51a70..f3cd94a05 100644 --- a/src/test/java/core/basesyntax/MainAppTest.java +++ b/src/test/java/core/basesyntax/MainAppTest.java @@ -17,10 +17,6 @@ public static void main(String[] args) { for (Machine machine : machines) { machine.doWork(); machine.stopWork(); - - } - } - } \ No newline at end of file