摘要:
需求:统计某确定文件夹下每种文件的个数并打印。(考虑路径下所有子文件夹) public class test { public static void main(String[] args) { File file = new File("C:\\Users\\Lenovo\\Desktop\\te 阅读全文
摘要:
1、Math类的方法: public static int abs(int a); //绝对值 public static double ceil(double a) //向上取整 public static double floor(double a) //向下取整 public static i 阅读全文