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

All requirements and tasks from README file are implemented #1486

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Alexsandr-Yablunovskyi
Copy link

No description provided.

Machine truck = new Truck();
Machine excavator = new Excavator();
Machine bulldozer = new Bulldozer();
Machine [] machines = new Machine[] {truck, excavator, bulldozer};

Choose a reason for hiding this comment

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

There shouldn't be whitespace when declaring an array:
Machine[] machines

Copy link
Contributor

@liliia-ponomarenko liliia-ponomarenko left a comment

Choose a reason for hiding this comment

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

Good job 👏

package core.basesyntax;

public class Bulldozer extends Machine {

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm generally not a fan of an empty string after a class name. But I see that now many developers do this. So you can do it but do it in the same way in all classes.

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.

3 participants