![]() |
#2
千里冰封2006-10-25 09:13
|
try{
in = new BufferedReader (new FileReader("one-liner.txt"));
}catch (FileNotFoundException e){
System.err.println("Could not open quote file. Serving time instead.");
}
}
然后编译能够通过,但运行时总说Could not open quote file. Serving time instead.请问这个文件是自己建立还是会自动生成,它放在什么地方了,谢谢!

[此贴子已经被作者于2006-10-24 22:51:27编辑过]