PrintWriter.append vs PrintWriter.print
843785Sep 8 2008 — edited Sep 8 2008Hi.....what's the difference between those two?
append() returns PrintWriter and print() returns nothing. When each method should be used?
How about println(); Is println is used whenever to format a newline.
print("this is test\n"); // using \n will not be platform-independent?
println("this is test"); // and this println format will be platform-independent.
Thanks....