I used notepad... And it should be the reason for this problem.
Now the question is almost solved, because when i copy the result to somewhere else, then I can see that '\n' works.
XDD
...
Type: Posts; User: Codeguess
I used notepad... And it should be the reason for this problem.
Now the question is almost solved, because when i copy the result to somewhere else, then I can see that '\n' works.
XDD
...
btw, i'm a totally fresh... just start JAVA coding yesterday... :-D
import java.util.Formatter;
import java.io.File;
import java.io.FileNotFoundException;
public class EgWriteToFile1
{
public static void main(String[] args)
throws FileNotFoundException
{...