摘要: int[] prices = {7,1,5,3,6,4}; //求出最大值的几种方式 int max = Arrays.stream(prices).max().getAsInt(); System.out.println(max); int max1 = Collections.max(Array 阅读全文
posted @ 2021-12-20 09:11 卡卡罗特琪琪 阅读(832) 评论(0) 推荐(0) 编辑