Difference between output statement System. out. print() and System. out. println()
Answers
Answered by
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
Political Science,
5 months ago
Social Sciences,
5 months ago
Accountancy,
10 months ago
Math,
10 months ago
Math,
1 year ago
Science,
1 year ago