Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java convert array to list

Integer[] array = new Integer[] {
  23, 54, 12
};

java.util.List<Integer> list = java.util.Arrays.asList(array);
System.out.println(list);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #convert #array #list
ADD COMMENT
Topic
Name
1+6 =