ArrayList newArray = new ArrayList(); newArray = urlList.getUrl(); for( int i = 0 ; i < newArray.size();i++) { System.out.println(newA
How about this
List a = new ArrayList(); a.add("wer"); a.add("sff"); String[] f= (String[]) a.toArray(new String[0]); System.out.println(f[0]);