What's the signature of toString?
All you need to do is provide a method with that exact signature in your own class.
By reading the API docs for java.lang.Object you can find out the signature of toString.
Reputation Points: 1658
Solved Threads: 331
duckman
Offline 7,719 posts
since Nov 2004