Re: confused



> I don't understand why Real wrote the code the way he did. The call to
> toArray() is unnecessary, as is the cast to Integer. Nevertheless, it
> should work.

The original OP was saying that i didn't understand what was going on. The
proposed toString() is very simple to follow : convert to an Array,
iterate whith a loop and build a String with each element. There is maybe a
better way to do it but this is one is easy to follow.

Bye.
--
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html
.