This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The answer is that whoever wrote those exam papers likes to have a print() method. I don't usually write them as a routine myself. Once you have a toString method you can probably write a print() method very simply like this:-I shall leave you to work out how that print() method works for yourself. It is really quite simple.