Skip to content

added psvm method#2598

Open
ViktorBarreto wants to merge 1 commit into
mate-academy:masterfrom
ViktorBarreto:hw-1-solution
Open

added psvm method#2598
ViktorBarreto wants to merge 1 commit into
mate-academy:masterfrom
ViktorBarreto:hw-1-solution

Conversation

@ViktorBarreto

Copy link
Copy Markdown

No description provided.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review Summary


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants