这个程序的结果为什么会只显示800多行?请求帮助
import java.io.*;
public class app13_9
{
public static void main(String args[]) throws IOException
{
FileWriter fw=new FileWriter("rand.txt",true);
BufferedWriter bfw=new BufferedWriter(fw);
for(int i=1;i<=1000;i++)
{
bfw.write((Double.toString(Math.random()*99999)));
bfw.newLine();
}
}
}
在此程序中rand.txt文件中只会存储800多条记录,当i改为i<=2000时,可达2000多行,希望有知其原因者回贴,谢谢~~~~~*^_^*~~~~~~