Skip to content

Commit 3ebfba9

Browse files
committed
up to 9-S-4
9-s-4 is not correct
1 parent 4a4a681 commit 3ebfba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ch09/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private static boolean isPalindrome(String value)
165165
private static boolean allLetters(String[] wordArray)
166166
{
167167

168-
char[] word = "learn".toCharArray();
168+
String[] word = "learn".split("");
169169

170170
for (int i = 0; i < wordArray.length - 1; i++)
171171
{

0 commit comments

Comments
 (0)