Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java copy array

int[] a = {1,2,3,4,5};
int[] b = Arrays.copyOf(a, a.length);
 
PREVIOUS NEXT
Tagged: #java #copy #array
ADD COMMENT
Topic
Name
9+4 =