i am writing to a file and want to enter a new line, for example:
FileWriter output = new FileWriter(FILE,true); //where FILE is my file
output.write("\n hello");
output.write("\n java");
output.close();
I want this to be on the file
:hello
:java
instead im getting
:hello[]java
in other words how do i omit writing the "\n" character and actually making a new line
please help thanxs :)
2006-07-31
21:27:11
·
3 answers
·
asked by
dragongml
3
in
Computers & Internet
➔ Programming & Design