Hi I tried the second solutions which is:
FileOutputStream out = FileOutputStream("output4.txt", true);
There was no problem with it or errors but when i opened the file output6.txt i didint find the other file appended to the end of this file
plz i do the following but no new thing happens i want the file to be appended ..
Originally posted by Mohammad Ahmad:
and it did the appending i need but there still one problem that it appends the second file to the first file ,but each one in separate line for example if the first file conatains "Mohammad" and the second file conatins "Ahmad" ,the Appending output is as following:
but i need this output:
so how can i change my code to do this???