Java · Writing classes

toString

Printing an object is the quickest way to check it while a program runs, once the class says how it should look.