5.3.5.You cannot mix expressions with variable declarations
public class MainClass { public static void main(String[] argv){ int i = 7; for (i++, int j = 0; i < 10; j++) { } // illegal!
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "int", delete this token
j cannot be resolved
j cannot be resolved
at MainClass.main(MainClass.java:4)