摘要:
public class ArrayDemo { public static void main(String[] args) { int array[] =new int[10]; int tmp; for (int i = 0; i <10 ; i++) { array[i]=(int)(Mat 阅读全文
摘要:
public class ArrayDemo { public static void main(String[] args) { int array[] =new int[10]; int tmp; for (int i = 0; i <10 ; i++) { array[i]=(int)(Mat 阅读全文
摘要:
一维数组:public class ArrayDemo { public static void main(String[] args) { int arr[]=new int[]{1,2,3,4,5,6}; int newArr[]=Arrays.copyOf(arr,8); Arrays.fil 阅读全文