📅  最后修改于: 2022-03-11 14:52:27.140000             🧑  作者: Mango
int index = 0;
int elementLength = array[0].length();
for(int i=1; i< array.length(); i++) {
if(array[i].length() > elementLength) {
index = i; elementLength = array[i].length();
}
}
return array[index];