摘要: 1.遍历array,使用for循环或者foreach(本人建议使用)int arr[] = {2, 3, 1}; System.out.println("----1----排序前的一维数组"); for (int x : arr) { System.out.println(x); //逐个输出... 阅读全文
posted @ 2015-09-24 17:44 JsonLu 阅读(346) 评论(0) 推荐(0)