Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to make a copy of an array java

int a[] = {1, 8, 3}; 
  
// Copy elements of a[] to b[] 
int b[] = a.clone();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #array #java
ADD COMMENT
Topic
Name
6+5 =