We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26b426d commit 84283d2Copy full SHA for 84283d2
1 file changed
Exercise.java
@@ -3,18 +3,18 @@
3
public class Exercise {
4
5
public static void main(String[] args) {
6
- ArrayList<Dice> dices = new ArrayList<>();
+ ArrayList<Dice> dices = new ArrayList<>();
7
8
- for (int i = 1; i <= 5; i++) {
9
- Dice dice = new Dice(i);
10
- dices.add(dice);
11
- }
+ for (int i = 1; i <= 5; i++) {
+ Dice dice = new Dice(i);
+ dices.add(dice);
+ }
12
13
- System.out.println("ID - Wuerfelwert");
14
- for (int i = 0; i < dices.size(); i++) {
15
- Dice dice = dices.get(i);
16
- dice.rollTheDice();
17
- System.out.println(dice.getId() + " - " + dice.getValue());
18
+ System.out.println("ID - Wuerfelwert");
+ for (int i = 0; i < dices.size(); i++) {
+ Dice dice = dices.get(i);
+ dice.rollTheDice();
+ System.out.println(dice.getId() + " - " + dice.getValue());
19
}
20
0 commit comments