2011年7月14日 星期四

Java: What's the default path of FileInputStream()

// 預設起始位置是"執行程式的目錄"
File f = new File("TEST");  
System.out.println(f.getAbsolutePath());
Reference: Coderanch

沒有留言:

張貼留言