You'll have to define a toString() method. It's called automatically by System.out.println(Object o). The ArrayList class has such an overridden toString() method that provides a nicely formatted representation.
Basically, overriding Object.toString with your own definition is all that is required.