What is differences between System.out.println and System.out.print | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is differences between System.out.println and System.out.print

30th Apr 2020, 9:34 AM
RAFBY SAPUTRA MOKODOMPIT
RAFBY SAPUTRA MOKODOMPIT - avatar
2 Réponses
+ 1
"ln" is the difference. "ln" meaning append new line
30th Apr 2020, 9:49 AM
Rohit
0
System.out.println() appends a newline character. System.out.print() doesn't.
30th Apr 2020, 9:39 AM
Damyian G
Damyian G - avatar