Fill a array with List data
        Posted  
        
            by marionmaiden
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by marionmaiden
        
        
        
        Published on 2010-03-29T14:37:43Z
        Indexed on 
            2010/03/29
            14:43 UTC
        
        
        Read the original article
        Hit count: 249
        
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 = ?
        © Stack Overflow or respective owner