Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+20 votes

Hope this makes a scene.

asked in CSC211_Winter2018 by (1 point)

3 Answers

+8 votes

I hope I get what you ask. If you use System.out.println, the pointer will go to the next line every time you use it; which means it gives vertical output. If you use System.out.print, the pointer will still remain in the same line every time you use it; which means it gives horizontal output.

answered by (1 point)
+8 votes

If the output is a “System.out.println” statement then the outcome will typically be vertical. If the output is a “System.out.print” statement then the outcome will typically be horizontal. There are execeptions however, like if you use the escape sequence, “\n” in the “System.out.print” statement which would make it vertical.

Hope this helped.

answered by (1 point)
+3 votes

If you are using System.out.print() it prints it horizontally and System.out.println() print vertically

answered by (-499 points)
...