0
What is the difference between system.out.println() and system.out.print() ?
3 Answers
+ 1
println() prints the value in the bracket in a new line
print() print it in the same line of the previous println() or print() statement.
0
println() prints on a new line and print() on same line
0
if you just use print, the cursor will be pointing just next to your answer whereas if you use println the cursor will be in the next immediate line after the output statement.