A nitpick on my assignment 1a had it that I was using 100
string concatenations and 100 array dereferences. The string concatenations, no doubt, came from my not creating a separate string containing the concatenation of the name with a space. (I used a FOR loop to print a concatenation of argument[ 0 ] with a space. It seemed the most straightforward thing to do, but I see it's not the most efficient thing to do.) But I'm a bit flummoxed by the 100 array dereferences nitpick. If I've created a separate string, and used a FOR loop to print the string 100 times, don't I have 100 array dereferences anyway? I think this comes from using a String object, but as I've just started learning
Java and have scant background in programming, I'm not sure. I've seen references in the Cattle Drive Java College discussion to a thing called StringBuffer, and sense this might help, but I don't see anything in Just Java 2 about it, so I can't check there.
Any help with my ignorance and confusion would be greatly appreciated.
Adam