Computer Science, asked by pranjul2930, 1 year ago

What is the difference between system.out.println and system. out. print?

Answers

Answered by fancy1
1
if you want to print different statements in different line then you will write system.out.println and if you want to print different statements in one line then you will write system.out.print
Answered by siddhartharao77
1
println method prints the current line and moves the cursor to the next line.

the print method doesn't move down the cursor to the next line.
Similar questions