Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

copying primitive array to arraylist in java

int[] input = new int[]{1,2,3,4};
List<Integer> output = Arrays.asList(input);
 
PREVIOUS NEXT
Tagged: #copying #primitive #array #arraylist #java
ADD COMMENT
Topic
Name
7+9 =