The operator + doesn't work on variables in a mathematical addition operation, it requires literal primitives such as 1, 2, 3, 4 .... Review this and see if it helps.
Welcome to the forums and see you around!
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|