Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

add stringarrays to string list java

import java.util.Collections;

List myList = new ArrayList();
String[] myArray = new String[] {"Java", "Util", "List"};

Collections.addAll(myList, myArray);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #stringarrays #string #list #java
ADD COMMENT
Topic
Name
8+2 =