Can someone help me to understand what is wrong with my java code? The website my work is on is saying the statement in all caps is wrong?

public class ArrayPractice {
public static String maxLength(String[] arr) {
int largest = 0;
for (String element : arr) {
if (element.length() > largest) {
}
}
RETURN LARGEST;
}
}
2 answers 2