摘要: 1.file类对文件的操作 import java.io.File;​public class Dome02 { public static void main(String[] args) throws Exception { File file = new File("d:/dome.txt") 阅读全文
posted @ 2022-04-09 23:47 阳光下的承诺 阅读(45) 评论(0) 推荐(0)
摘要: 1.改造入门案例 import java.io.FileInputStream;​public class Dome01 { public static void main(String[] args) { FileInputStream fis = null; try { //创建字节输入流对象 阅读全文
posted @ 2022-04-09 22:32 阳光下的承诺 阅读(27) 评论(0) 推荐(0)