Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First solution added print statement #2254

Closed
wants to merge 2 commits into from

Conversation

dariuszb
Copy link

No description provided.

Copy link

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

Choose a reason for hiding this comment

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

Your solution is on the right track, but there are a few critical elements missing that need to be addressed before we can approve it. 🚧

  1. Missing Classes and Methods: The task requires a Machine class with abstract methods doWork() and stopWork(), and subclasses Truck, Bulldozer, and Excavator. These are not present in your code.

  2. Implementation in MainApp: The MainApp class should create an array of Machine objects and call their methods. Currently, it only prints a message.

  3. Informative Messages: Ensure that the methods print messages indicating which Machine is working.

  4. Redundant Empty Lines: Try to avoid unnecessary empty lines in your code for better readability.

Please make these changes, and feel free to reach out if you need any help. Keep up the good work! 🌟

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

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

@dariuszb dariuszb closed this Feb 4, 2025
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