Hello!
I ran into some issues with the acceptable code for test lines in Code Runner for Java.
The students are supposed to write the code inside the following method:
public List wordsWithoutList(String[] words, int len) {
}
I have been trying different ways for the tester, but it is not being accepted.
Here is what I tried last:
String [] num = {"a", "bb", "b", "ccc"};
System.out.println(java.util.ArrayList.toArray.toString(wordsWithoutList(num, 1)));
And for example expected output should be:
["bb", "ccc"]
How should the code for text case look like, so that the Lists are accepted?
Kind Regards,
Alina