There was an error while loading. Please reload this page.
1 parent 4c71621 commit 99ee121Copy full SHA for 99ee121
1 file changed
src/main/java/core/basesyntax/MainApp.java
@@ -1,7 +1,6 @@
1
package core.basesyntax;
2
public class MainApp {
3
public static void main(String[] args) {
4
-
5
Machine[] machines = {new Truck(), new Bulldozer(), new Excavator()};
6
for (Machine machine : machines) {
7
machine.doWork();
0 commit comments