+ 1

what dose this Sign mean in Java Sign +=

14th Jun 2018, 3:57 AM
Sujay Sonwalkar
3 Answers
+ 5
I'll give you an example: X += Y is basically same as: X =X+Y It is a shortcut to add two values.
14th Jun 2018, 4:10 AM
☇☇The Flash☇☇
☇☇The Flash☇☇ - avatar
+ 3
it is addition assignment operator... in which we can add a variable to the given variable and assign it to the same variable... x+=y is. equivalent to x=x+y
14th Jun 2018, 4:13 AM
PRAMOD JANA - avatar
14th Jun 2018, 4:34 AM
Zeke Williams
Zeke Williams - avatar