i am having a program in java.which system.out some strings,i need to save each of them in a text file it is showing in a format ruo1 row2 row3 i want it in
how about adding a new line character "\n" to each row ?