One of my method returns String[] array in a loop. While loop contiues, I want to add these String[] arrays to another String[] array. I want something like this given below. It gives ype mismatch: cannot convert from String[] to String error.
String[] searchResultList = new String[25];
int count = 0;
for (...) {
String[] resultList = getArray(parameter);
searchResultList[count] = resultList;
count++;
}