摘要: java中对数组进行排序 使用Array.sort() 这个默认是升序 @Test public void index4(){ int scores[] = new int[]{1,2,3,89,4}; Arrays.sort(scores); for (int i:scores ) { Syste 阅读全文
posted @ 2020-06-07 18:25 KoMiles 阅读(25909) 评论(1) 推荐(1) 编辑