Day2 stept 4

This commit is contained in:
2026-09-09 15:19:17 +09:00
parent e8bdd3f18a
commit d16b47bc60

View File

@@ -21,7 +21,6 @@ public class StringCheck {
//System.out.println("あなたの入力は: [" + str + "]"); //System.out.println("あなたの入力は: [" + str + "]");
//2段階のif //2段階のif
boolean isEmpty = str.isEmpty(); boolean isEmpty = str.isEmpty();
boolean isTooLong = str.length() > 140; boolean isTooLong = str.length() > 140;
@@ -37,7 +36,6 @@ public class StringCheck {
continue; continue;
} }
break; break;
} }
System.out.println(); System.out.println();
@@ -46,8 +44,5 @@ public class StringCheck {
scan.close(); scan.close();
} }
} }