Hi,
Starting today it seems like whenever I put a variable in the condition part of a for loop in Java the compiler goes nuts and I get an error. Even a very simple example, like this:
public static void main(String args[]) {
for(int i = 0; i < args.length(); i++){
}
}
Produces the following error:
Console output
Errors
error: cannot find symbol
for(int i = 0; i < args.length(); i++){ ^
I didn’t had any problems like these previously, anyone else experiencing the same?
Thanks,
David