Computer Science, asked by Dodo98, 11 months ago

Differentiate between Print and Println with reference to Java​

Answers

Answered by Shazzad
5

Answer:

Difference between the methods print and println. 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.

Explanation:

Similar questions