Skip to content

Commit 1a7d078

Browse files
authored
Update RandomLetterChooser.java
1 parent feeccc5 commit 1a7d078

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/main/java/RandomLetterChooser.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
public class RandomLetterChooser extends RandomStringChooser
22
{
33

4-
public RandomLetterChooser(String str)
5-
{
4+
public RandomLetterChooser(String str){
65
/* to be implemented in part (b) */
7-
6+
public RandomLetterChooser(String str){
7+
super(smth(str));
8+
}
9+
public static String[] getSingleLetters(String str){
10+
for(int i = 0; i < str.length();i++)
11+
return;
812
}
13+
14+
}
915

1016

1117
public static String[] getSingleLetters(String str)

0 commit comments

Comments
 (0)