1 2 3
int a=1; int b=2; if (a=b) System.out.printf("ok");
1
Line 3: error: expected identifier or '(' before 'if'