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 b674f1b commit 7031cc4Copy full SHA for 7031cc4
src/main/java/core/basesyntax/Application.java
@@ -1,12 +1,13 @@
1
package core.basesyntax;
2
3
public class Application {
4
+ private static final int BALLS_QUANTITY = 3;
5
+
6
public static void main(String[] args) {
7
Lottery lottery = new Lottery();
8
- for (int i = 0; i < 10; i++) {
9
+ for (int i = 0; i < BALLS_QUANTITY; i++) {
10
System.out.println(lottery.getRandomBall());
11
}
-
12
13
0 commit comments