摘要: import java.io.*;public class HelloWorld { //Main method. public static void main(String[] args) { CreateFile(); ListFileName(); ShowSeparator(); } //Create a file. //Judge that the file exists. public static void CreateFile() { File f = new File("d:\\hello.xt"); try { if (!f.exists()) { . 阅读全文
posted @ 2013-08-29 15:47 fang_beny 阅读(171) 评论(0) 推荐(0) 编辑