What is /n this ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is /n this ?

I don't know what is /n means.I see it is used in printing.

2nd Sep 2017, 7:20 PM
Kartikey Gupta
Kartikey Gupta - avatar
6 Answers
+ 2
It's "\n", not "/n"
2nd Sep 2017, 7:35 PM
Dapper Mink
Dapper Mink - avatar
+ 1
Please demonstrate with example
2nd Sep 2017, 7:31 PM
Kartikey Gupta
Kartikey Gupta - avatar
+ 1
line breakee
2nd Sep 2017, 7:41 PM
promise orazulike
promise orazulike - avatar
0
new line
2nd Sep 2017, 9:35 PM
Okoro Ikechukwu Stephen
Okoro Ikechukwu Stephen - avatar
0
thanks everyone for clearing my doubts
3rd Sep 2017, 7:50 AM
Kartikey Gupta
Kartikey Gupta - avatar
- 1
There is nothing like /n. \n is the new line feed which breaks the line in a printing statement in most languages. System.out.println("Hello\nJava"); This will output: Hello Java Hope I helped...
3rd Sep 2017, 8:44 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar