2
Answers

what is diffrence between print() and println() ?

rahul jaiswal

rahul jaiswal

12y
1k
1
Both Method are used to display the result on the monitor .print() method displlay the result and then retains the cursor in the same line , next to the end of the result .println() method display the result the cursor to the next line.
Answers (2)