sum - java "=+" compiles but it does not affect any variable -
i wanted increment integer adding 1 , wrote "=+" instead of "+=" . , saw compiles not . or ?
a=3 b=5 a=+b print >>> 5 what reason ?
since =+ not operator (but += is).
so a=+b equals "a = +b" , b = +b a = b in end.
may looking a += b equals a = + b
Comments
Post a Comment