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

Lottery #1764

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

Conversation

Eugene-Yukhimenko
Copy link

No description provided.

boroda4436 and others added 3 commits February 6, 2025 15:03
… generated with random colors and numbers, and the result is printed to the screen.
… generated with random colors and numbers, and the result is printed to the screen.
Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a 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 solution! 🎉 The code meets the task requirements and constraints effectively. While the inheritance in the Application class is unnecessary, it doesn't impact the core functionality. Consider removing it for cleaner design. Keep up the good work! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

@@ -1,7 +1,12 @@
package core.basesyntax;

public class Application {
public class Application extends Lottery {

Choose a reason for hiding this comment

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

The Application class should not extend Lottery. The task does not require inheritance here, and extending Lottery is unnecessary for the functionality of generating random balls. Remove the inheritance to align with the task requirements.

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