Regarding the question in class (Jan 12) about right-associative operators in Java (C, C++).  I can find two:

  1. =  The statement a=b=c; is interpreted as a=(b=c);
  2. ?:  The expression a?b:c?d:e?f:g is interpreted as a?b:(c?d:(e?f:g)).