in the syntax System.Out.Println what does ln stands for? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

in the syntax System.Out.Println what does ln stands for?

14th Sep 2016, 10:06 AM
suved
suved - avatar
2 Respostas
+ 1
out is a static member of System class and it is an instance of Printstream class and println() is a normal method in Printstream class. so to invoke println method we use System.out.println(); where ln indicates new line
14th Sep 2016, 10:29 AM
Teja Naraharisetti
Teja Naraharisetti - avatar
0
Ln stands for "new line" essentially. The difference between System.out.print() and System.out.println() is that the latter will print whatever statement you have in the parentheses on a new line in the console.
14th Sep 2016, 10:12 AM
Osei J
Osei J - avatar