You have String[] result already defined. Change
List<String> result[i] = new ArrayList<String>();
to some another variable
You have String[] result already defined. Change
List<String> result[i] = new ArrayList<String>();
to some another variable