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
Hindi,
6 months ago
Accountancy,
6 months ago
Accountancy,
1 year ago
Math,
1 year ago
Math,
1 year ago
Science,
1 year ago