Which is why you should be extra careful when posting advice. I'm no expert, but I've been programming Java for 8 years or so, and I still throw together sample programs all the time to make sure my...
Type: Posts; User: KevinWorkman
Which is why you should be extra careful when posting advice. I'm no expert, but I've been programming Java for 8 years or so, and I still throw together sample programs all the time to make sure my...
Sigh. No. Again, wrong. Again, misleading advice.
What did you get when you ran that line? Or a similar line? Here, I'll even give you this example program again, since you don't seem to know how...
Okay, but that's not a syntax error, as you erroneously indicated. That's not a compile-time error, it's a runtime error. It's not a problem with the syntax itself ("with the [] around the 1", as you...
But what happened when you tried it?
Because you're wrong. The syntax is perfectly legal. Yet again, you're offering advice that is absolutely not true. I'm a little more forward about calling you...
Crossposted: need help with 2D array - Java Forums