println is a method.
'\n' is a character.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
and println will not print \n on most operating systems (it will print either \n, \r, \r\n, or \n\r on most depending on system definitions).
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337