What is the difference between += and =+?
Specifically, in java, but in general also.
Difference Between += and =+ in Java – Explained
incrementjavaoperatorssyntaxunary-operator
incrementjavaoperatorssyntaxunary-operator
What is the difference between += and =+?
Specifically, in java, but in general also.
Best Answer
means
While
is equivalent to
(See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.15.3 for what a unary + does.)