摘要: package file;import java.io.File;import java.io.IOException;public class getFilePath { public static void main(String[] args) throws IOException { System.out.println("------默认相对路径,取得路径不同-----"); File f = new File("..\\src\\file"); System.out.println(f.getPath()); System.out.print 阅读全文
posted @ 2011-08-26 09:39 波仔呀 阅读(14696) 评论(2) 推荐(4) 编辑