Can we write a lines of text in File by a Java Program,Given The file must be readable by any user who simply opens it.Note It should not contain any special characters in between words of file ?
Do you get "special" characters between words or lines when you compile and run it? Change the file name string "c:\\tests\\myoutput.txt" first if you need to.