difference between sop and sopln
Answers
Answered by
7
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.
mihiralways2701:
YOU TOO IN ICSE?
Answered by
12
Answer:
hello !!!
SOP is used for leaving the cursor in same line where the output is displayed.
while,
SOPln is used for making the cursor to move to next line of the output displayed.
hope it helps...
Explanation:
Similar questions