how can i write java output in text file continuously -
i tried output of java program text file.but when print output in text file , next set of input overwrites on it.i want see of output in order in text file.how can i?
if using filewriter
, pass true second argument filewriter turn on "append" mode.
fout = new filewriter("filename.txt", true);
Comments
Post a Comment