摘要: 1.创建一个Scanner类的对象mScanner用于用户的输入文件名称 Scanner mScanner = new Scanner(System.in); 2.定义一个path用来接收用户的输入 String path = mScanner.nextLine(); 3.创建一个File的对象mf 阅读全文
posted @ 2017-09-25 00:16 没劲 阅读(82) 评论(0) 推荐(0)