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.


+22 votes
asked in CSC211_Winter2018 by (8 points)

2 Answers

+12 votes

Could you give us the context of this question? I assume you are asking about Lab 1 Project 3, but I don't know for sure.

System.out.println() will print a blank line into the console and move the cursor to the next line. The purpose of printing a blank line in this context is to create spacing between your letters, making them easier to read (and look a lot nicer). Sure, your code will still work without printing blank lines, but the overall goal is to create a readable output, which is why they are encouraged.

answered by (8 points)

Your answer hits my point. Thanks!

+7 votes

It is the same as using \n which is used to get to a new line but it better to use it out of the main method if possible to avoid redundancy!

answered by (-492 points)