摘要: 一.File类 1.File类是io包中唯一代表磁盘文件本身的对象。 构造方法创建文件对象: File file = new File(String pathname);pathname:指路径名称(包含文件名)。 例:File file = new File("f:/abc/abcd/123.tx 阅读全文
posted @ 2018-05-14 17:01 w944372441 阅读(301) 评论(0) 推荐(0) 编辑