publicclass MainClass {
publicstaticvoid main(String[] argv){
for (int i = 7, long j = 0; i < 10; j++) { } // illegal!
}
}
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error on token "long", delete this token
at MainClass.main(MainClass.java:3)