Sigh. Lateral thinkers do not make good programmers.
I first thought that the error might be a missing ; then I was wondering if the method (method? constructor, whatever it is) should have been something other than void as it's needed to, well, do something. I then thought that, well, it's an integer so the name "number" wouldn't work. Seems like I was wrong on every point! Either that or there's something else wrong anyway. The constructor name matches the class name so it's not that. Can a public, uh, thing call a private, uh, thing - good grief, I don't even know WHAT I'm talking about now -
So... in short, I couldn't fix it after ten minutes and gave up. Tell me, pleeease? Because I won't be able to sleep otherwise...
My understanding of Java is, as is now apparent, sketchy at best. At worst... well.
Yes, I figured out the bit about the compiler errors, they confuse the heck out of me. I managed to fix one problem in my code and twenty-nine errors disappeared at once, so I'm starting to understand that. And I even figured out how to work out which line the errors are on... yes, that took me several hours. As for the error messages themselves, I seem to have two common ones:
llegal character: \172 -and- illegal character: \8224
I don't know WHAT that means. I thought they were Unicode characters but that just comes up with random characters I don't even have in my code, so... huh?
It's a learning curve and I'm NOT going to quit, no matter how much I embarrass myself. I want to weep with joy every time I get a piece of code to actually run, my failure rate is that high.
Well, better get back to, I don't know, whatever it is I'm supposed to be doing right now.
Thanks all for the help..