Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 votes

Hope this makes a scene.

asked in CSC211_Winter2018 by (2k points)

3 Answers

+4 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 (865 points)
+4 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 (3.8k points)
–1 vote

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

answered ago by (2.6k points)
...