質問編集履歴
1
失礼しました。ペーストする際にミスがあったようです。
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
package nosplit;
|
19
19
|
|
20
|
-
public class
|
20
|
+
public class NoSplit {
|
21
21
|
|
22
22
|
public static void main(String[] args) {
|
23
23
|
|
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
while (true) {
|
31
31
|
|
32
|
-
|
32
|
+
index2 = word.indexOf("-", index);
|
33
33
|
|
34
34
|
if(!(-1 == index2)){
|
35
35
|
|