Hi,
I've got a syntax question: is the following code legal in
Java:
I think it is ok because it compiles, but it looks odd (I come from a C background where this is illegal). Is it better to declare the variable x outside the loop first?
Thanks,
Martin
[This message has been edited by Cindy Glass (edited October 04, 2001).]