摘要: 1、经典的for i 结果如下 2.arr.fori 结果如下: 3、倒序 阅读全文
posted @ 2023-07-09 18:32 Link_Soul 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Arrays类: toString是使内容以字符串形式输出 sort升序排序 Math类: abs 返回double 取绝对值:System.out.print(Math.abs(-12138)) ceil 返回double 向上取整:System.out.print(Math.ceil(3.9)) 阅读全文
posted @ 2023-07-09 17:43 Link_Soul 阅读(1) 评论(0) 推荐(0) 编辑