0

Is there any relation between 'System.out.print()' and 'System.out.println()'?

26th Jul 2019, 4:29 PM
Captain America
Captain America - avatar
2 Réponses
+ 3
println () method adds a new line, print() method places everything on the same row.
26th Jul 2019, 4:35 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
system.out.println prints the command in a new line whereas system.out.print prints it in the same line
26th Jul 2019, 6:22 PM
raven