Tag: print
-
Lesson 26: println() vs print()
In the previous lesson, we went over a program that counted to the number 10 using a for loop. Using the System.out.println() method, every loop printed the number on a new line. However, what if we wanted to print our numbers out on one line? So far, we have only used the print method System.out.println() […]