Community
Participate
Working Groups
If i write lines like these int a =0; int b = 0; int c=0; a=b=c; in the task list appear 2 Syntax error on token ";", , expected on the like "int c=0;" In Eclipse 3.0 it's all Ok!
Compilor error message is the same with 3.0 and 3.1 when you this lines directly in a class declaration: this is an invalid syntax. You should have at least put statemement a=b=c; into an initializer: public class A { int a =0; int b = 0; int c=0; { a=b=c; } } or in a method declaration: public class A { int a =0; int b = 0; int c=0; void foo() { a=b=c; } }