+ 1
Can someone distinguish between Write() and WriteLine() methods?? In detail
2 odpowiedzi
+ 3
WriteLine() method adds a new line character at the end after printing given string. Which means anything now you print, will start from a new line.
Whereas Write() method does not provide new line at the end. Everything you print now, will be shown in the current line only.