-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
The task is ready, but it is not certain ;) #2218
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on implementing the task requirements! 🎉 The code is well-structured, and all classes correctly extend the Machine
class and override the necessary methods. While the @Override
annotation is missing in the Excavator
class for the stopWork
method, it doesn't affect the functionality. Adding it would improve clarity, so consider including it in the future. Keep up the great work! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
public void doWork() { | ||
System.out.println("Excavator started work!"); | ||
} | ||
public void stopWork() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The stopWork
method should have an @Override
annotation to indicate that it overrides a method from the superclass Machine
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix build
No description provided.