Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/java/core/basesyntax/MainApp.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package core.basesyntax;

public class MainApp {

public static void main(String[] args) {
System.out.println("Hello world!");
Comment on lines +4 to +5

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method only prints a greeting. The task requires creating a Machine array with Truck, Bulldozer, and Excavator objects, then looping through the array to call doWork() and stopWork() methods on each element.

}
}
Loading