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

OOP #1650

Closed
wants to merge 2 commits into from
Closed

OOP #1650

wants to merge 2 commits into from

Conversation

rafik2211
Copy link

Create class Machine containing methods public abstract void doWork() and public abstract void stopWork().
Create classes Truck, Bulldozer, Excavator that will inherit from Machine.In MainApp class create Machine array with Truck, Bulldozer and Excavator and call methods doWork() and stopWork() in a loop.

… and public abstract void stopWork().

Create classes Truck, Bulldozer, Excavator that will inherit from Machine.In MainApp class create Machine array with Truck, Bulldozer and Excavator and call methods doWork() and stopWork() in a loop.
Copy link

@Ivan95kos Ivan95kos left a comment

Choose a reason for hiding this comment

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

Please, fix all checks
Знімок екрана 2023-09-11 о 16 54 03

Copy link

@Ivan95kos Ivan95kos left a comment

Choose a reason for hiding this comment

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

)

@rafik2211 rafik2211 requested a review from Ivan95kos September 11, 2023 16:31
@rafik2211 rafik2211 closed this by deleting the head repository May 31, 2024
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