-
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
Hw2 solution #2265
Hw2 solution #2265
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 core functionality! 🎉 While there are some minor formatting issues with the output strings, they don't impact the overall functionality of your code. Keep an eye on those details to make your code even cleaner in the future. Well done! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
} | ||
|
||
public void stopWork() { | ||
System.out.println("The Bulldozer,stopped working."); |
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.
There is a formatting issue in the string: 'The Bulldozer,stopped working.'. There should not be a comma between 'Bulldozer' and 'stopped'. It should be: 'The Bulldozer stopped working.'
} | ||
|
||
public void stopWork() { | ||
System.out.println("The Excavator,stopped working."); |
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.
There is a formatting issue in the string: 'The Excavator,stopped working.'. There should not be a comma between 'Excavator' and 'stopped'. It should be: 'The Excavator stopped working.'
|
||
public class Truck extends Machine { | ||
public void doWork() { | ||
System.out.println("The Truck,started its work."); |
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.
There is a formatting issue in the string: 'The Truck,started its work.'. There should not be a comma between 'Truck' and 'started'. It should be: 'The Truck started its work.'
} | ||
|
||
public void stopWork() { | ||
System.out.println("The Truck,stopped working."); |
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.
There is a formatting issue in the string: 'The Truck,stopped working.'. There should not be a comma between 'Truck' and 'stopped'. It should be: 'The Truck stopped working.'
No description provided.