Read the API doc for java.lang.Object.toString() for the format of toString() if you don't override it. For printing arrays there are a couple of handy methods in java.util.Arrays: toString(<type>[])...