摘要: 一.创建文件的三种方法 1.new File(String pathname)//根据路径构建一个File对象 1 @Test 2 public void create1(){ 3 String filePath = "D:\\file1.txt"; 4 File file = new File(f 阅读全文
posted @ 2022-11-08 11:33 vasilizzz 阅读(33) 评论(0) 推荐(0)