anyone answer me?:@

Recommended Answers

println is a method.
'\n' is a character.

Jump to Post

All 3 Replies

println is a method.
'\n' is a character.

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).

commented: Now that is a correct answer. ;-> +7
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.