package im; import java.util.Arrays; public class test { public static void main(String[] args) { test hello = new test(); int[] scores={79,52,98,81}; System.out.println("共有"+hello.sort(scores)+"个成绩信息!"); } public int sort(int[] scores){ Arrays.sort(scores); System.out.println(Arrays.toString(scores)); //返回数组中元素的个数 return scores.length; } }
qq_忙狗_0
水墨流沙
慕妹5461943
qq_浮梦壹生_03287462
qq_绿叶_4
慕粉1042539469
诡圣
蜂之谷
相关分类