The System.out.format() method makes it easier for you to get output with your variable values in them. It also lets you make output look exactly the way you want it.
The URL at the end of the video that gives more details about formatting is: https://docs.oracle.com/javase/tutorial/java/data/numberformat.html