回答編集履歴
2
追記
answer
CHANGED
@@ -14,4 +14,30 @@
|
|
14
14
|
...
|
15
15
|
|
16
16
|
System.out.println(abc[0]);
|
17
|
+
```
|
18
|
+
|
19
|
+
追記
|
20
|
+
---
|
21
|
+
> 一文字ずつ表示(実行)させたい
|
22
|
+
|
23
|
+
こんな感じですかね。
|
24
|
+
```Java
|
25
|
+
String[] abc = {
|
26
|
+
"じゃんけん大会!! 好きなプレイを選んで下さい。(半角数字でお願いします。)",
|
27
|
+
"好きなプレイを選んで下さい。(半角数字でお願いします。)"
|
28
|
+
};
|
29
|
+
|
30
|
+
for(int i = 0; i < abc.length; ++i) {
|
31
|
+
for(int j = 0; j < abc[i].length(); ++j) {
|
32
|
+
System.out.print(abc[i]のj文字目); // ここはご自身で調べましょう
|
33
|
+
|
34
|
+
try {
|
35
|
+
Thread.sleep(10);
|
36
|
+
}
|
37
|
+
catch(InterruptedException e) {
|
38
|
+
e.printStackTrace();
|
39
|
+
}
|
40
|
+
}
|
41
|
+
System.out.println();
|
42
|
+
}
|
17
43
|
```
|
1
修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
バグを取るだけなら
|
2
2
|
---
|
3
3
|
`System.out.println(abc[00]);` ⇒ `System.out.println(abc[0][0]);`
|
4
4
|
|