A DESCRIPTION OF THE PROBLEM :
Hi! I believe there's a typo in Autoboxing (https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html) tutorial.
In this excerpt:
"sum += i;
return sum;
}
Because the remainder (%) and unary plus (+=)"
(+=) is called unary plus, but it obviously takes 2 arguments and should be called binary
Hi! I believe there's a typo in Autoboxing (https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html) tutorial.
In this excerpt:
"sum += i;
return sum;
}
Because the remainder (%) and unary plus (+=)"
(+=) is called unary plus, but it obviously takes 2 arguments and should be called binary