我正在使用 Eclipse 编写需要写入输出文件的代码。文件名来自命令行参数。我不知道它在哪里创建文件。它说我的工作区是输出文件的默认值,但找不到它。这是我的代码
try{
PrintWriter output = new PrintWriter(new File(args[3]));
//System.out.print(args[3]);
output.append('l');
output.close();
} catch(IOException e) {
System.exit(0);
}