Use it like this – String [] myArray = myList.toArray(new String[myList.size()]);
solved JAVA casting list of strings to string array [duplicate]
Use it like this – String [] myArray = myList.toArray(new String[myList.size()]);
solved JAVA casting list of strings to string array [duplicate]