We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c8709d commit f424859Copy full SHA for f424859
src/main/java/core/basesyntax/Application.java
@@ -5,7 +5,7 @@ public static void main(String[] args) {
5
int ballsCapacity = 3;
6
7
Lottery lottery = new Lottery();
8
- Ball[] balls = new Ball[3];
+ Ball[] balls = new Ball[ballsCapacity];
9
10
for (int i = 0; i < ballsCapacity; i += 1) {
11
balls[i] = lottery.getRandomBall();
0 commit comments