Silly question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Silly question

can someone tell me (if there is ) the difference between System.out.printIn ("") and System.out.print ("") ?

9th Jan 2017, 11:54 PM
Noor Nizar
Noor Nizar - avatar
3 Answers
0
println stands for print new line. So after your text, the next one is printed in new line. print just prints your text ^^
10th Jan 2017, 12:17 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 2
Not such a silly question imho :)
10th Jan 2017, 6:56 AM
Álvaro
+ 1
println = print your text goes to new linę print = print your text, another print/println will be just after
10th Jan 2017, 8:48 AM
Kuba
Kuba - avatar