Take a look at this. You can see there are many different ways of printing to the screen. System.out.print does not contain a line break so anything displayed will show on the same line.