[Bluej-discuss] concatenating an index value with a note ex 4.15
Sheryl
bubblez123 at xtra.co.nz
Wed Oct 4 19:51:00 BST 2006
Colleen
I already tried that which didn't compile ie System.out.println(index + notes.get(index));
It says that you can't use the + operator in this situation.
However, when I added the string for the colon to make it display like the example in the book, it compiled. why is this?
Sheryl
bubblez123 at xtra.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20061004/b8846179/attachment.html
More information about the bluej-discuss
mailing list