package study.stage2; import java.util.Arrays; /** * Created by Sandy.Liu on 2017/7/19. */public class ArrayTest { public static void main(String[] args) throws Exception{ int array[] = {3,4,2,24,6,-23,-4,-56}; System.out.println(array.length);//8 pr…
public class Test { public static void main(String[] args) { Integer[] a = {1,2,3}; Integer[] b = {4,5,6}; Integer[] c = new Integer[a.length+b.length]; System.arraycopy(a, 0, c, 0, a.length); System.arraycopy(b, 0, c, b.length, b.length); for(Intege…