Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Excellent work on this task! You've correctly implemented the abstract Machine class and its subclasses, demonstrating a solid understanding of polymorphism in the MainApp. All functional requirements have been met, so I am happy to approve your solution.
Just a small note on code style for the future: please be mindful of redundant empty lines, like the ones found in Machine.java. This is a minor point that doesn't affect functionality but is good practice to follow [CHECKLIST ITEM #1]. Keep up the great work!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Footnotes
|
|
||
|
|
There was a problem hiding this comment.
This violates checklist item #1: 'Please don't add redundant empty lines to your code.' These empty lines after the class declaration are not needed.
Elena-Bruyako
left a comment
There was a problem hiding this comment.
Good job
Just be carefull with empty lines
| public abstract class Machine { | ||
| public abstract void doWork(); | ||
| public abstract void stopWork(); | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
| public abstract class Machine { | |
| public abstract void doWork(); | |
| public abstract void stopWork(); | |
| } | |
| public abstract class Machine { | |
| public abstract void doWork(); | |
| public abstract void stopWork(); | |
| } |
No description provided.