Computer Science, asked by vishal1008, 10 months ago

Difference between output statement System. out. print() and System. out. println()​

Answers

Answered by tapatidolai
3

Answer:

The println("...") method prints the string "..." and moves the cursor to a new line. The print("...") method instead prints just the string "...", but does not move the cursor to a new line. Hence, subsequent printing instructions will print on the same line.

Similar questions