Tuesday, November 8, 2011

Why am I getting this error in Java?

Your + at the end of the line is a concatenation that implies another string object is right behind it. Instead you have a for loop. Either replace the plus sign with a semi-colon to end the line OR put a string after the plus to concatenate.

No comments:

Post a Comment