ArrayList newArray = new ArrayList(); newArray = urlList.getUrl(); for( int i = 0 ; i < newArray.size();i++) { System.out.println(newA
Usually I write
String[] array = collection.toArray(new String[collection.size()]);
because this way
Collection.toArray(T[])