+ 1

how print the "\n" in java ????

can any one say me how print the only "\n" in java ..

7th Jan 2017, 11:36 AM
Ananta Khare
Ananta Khare - avatar
1 Réponse
+ 4
\n means new line. If you want to print \n to the console you have to use \\n
7th Jan 2017, 11:37 AM
qobus