- 1

what is the use of \n operator

please help

5th Nov 2017, 2:00 PM
Mohammed Noman
Mohammed Noman - avatar
11 Respuestas
+ 33
System.out.print ("xyz\n"+"abc"+"\n"+"lmn"); //java // \n is non printable character used to give a line break output ::: xyz abc lmn //hope it helps ☺
6th Nov 2017, 11:19 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
To indicate the presence of a new line in a String.
5th Nov 2017, 2:12 PM
josh mizzi
josh mizzi - avatar
+ 2
can i get in touch with you luka
5th Nov 2017, 6:38 PM
Subham Chakrabertty
Subham Chakrabertty - avatar
+ 2
@luka here by the word "touch" i meant to be in contact with.
6th Nov 2017, 11:37 AM
Subham Chakrabertty
Subham Chakrabertty - avatar
+ 1
@luka can i be in touch with you
6th Nov 2017, 7:18 AM
Subham Chakrabertty
Subham Chakrabertty - avatar
+ 1
@luka. ok
6th Nov 2017, 11:45 AM
Subham Chakrabertty
Subham Chakrabertty - avatar
0
Who?
5th Nov 2017, 6:40 PM
josh mizzi
josh mizzi - avatar