Skip to content

Commit 1b9f22a

Browse files
authored
Update RandomLetterChooser.java
1 parent 24c18ca commit 1b9f22a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/RandomLetterChooser.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ public RandomLetterChooser(String str){
55
/* to be implemented in part (b) */
66
super(getSingleLetters(str));
77
}
8-
public static String[] getSingleLetters(String str){
9-
String[] letterArray = new String[str.length()];
10-
for(int i = 0; i < str.length(); i++)
11-
letterArray[i] = "" +str.charAt(i);
12-
return letterArray;
138

149
}
1510

0 commit comments

Comments
 (0)