Fill a array with List data
- by marionmaiden
How can I fill a array with the data provided by one List?
For example, I have a List with Strings:
List l = new ArrayList<String>();
l.add("a");
l.add("b");
l.add("c");
then I want to copy this data into a String array:
String[] array = ?