Skip to content

Commit

Permalink
created Ball clas with color and number properties, Enum Colors and f…
Browse files Browse the repository at this point in the history
…illed it, implemented method getRandomColor(), created class Lottery which has the method getRandomBall(), returning Ball with random color and number, and in the main() method made a little test.
  • Loading branch information
gekatonheyr committed Dec 12, 2024
1 parent 5404547 commit e9d3e9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/core/basesyntax/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ public static void main(String[] args) {
for (int i = 0; i < 3; i++) {
System.out.println(new Lottery().getRandomBall());
}

}
}

0 comments on commit e9d3e9c

Please sign in to comment.