This discussion is archived
6 Replies Latest reply: Jan 7, 2005 5:22 AM by 800387 RSS

how can this compile: x = (x=1) + (x=7)* (- - x); ???

807596 Newbie
Currently Being Moderated
how can this compile
int x;
x = (x=1) + (x=7)* (- - x); 
System.out.println( x );
and show 43 on console after execution? does assignment operation returns any value?