摘要: 常用API相关知识 一、Math (不能创建对象) Math包含执行基本数字运算的方法 Math类的常用方法: public static int abs(int a)--返回参数的绝对值 System.out.println(Math.abs(-12)); //输出12 public static 阅读全文
posted @ 2022-05-04 19:20 yesyes1 阅读(21) 评论(0) 推荐(0) 编辑