anyone answer me?:@

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.