0
Why += is different from =+ in java
14 Answers
+ 3
ya now I got it
thanks jeremy
+ 1
=+ doesnt exist as own operator
+ 1
I tried same just now
+ 1
yaaa sorry it's y=+ x
+ 1
but why answer is 4
0
why
0
why would it?
0
x=4 and y=8
x =+ y
(and come 4)
0
it's ans.
0
no, x would be 8
0
no answer comes this only
0
try it on the code playground...
0
even the code on your profile does it how i said it...
0
int x = 4;
int y= 5;
y = x; // y is now 4
y = +x; //this is the same the plus is evaluated as the sign of x