0
in the syntax System.Out.Println what does ln stands for?
2 Réponses
+ 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
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.