what does += mean when its put into an equation in java?

Code:`Calculate(){`

for(int i=0; i<someValue; i++){

b += x+abc +this.Calculate();

}

}

Printable View

- 03-11-2011, 03:58 AMsehudson+= notation
what does += mean when its put into an equation in java?

Code:`Calculate(){`

for(int i=0; i<someValue; i++){

b += x+abc +this.Calculate();

}

}

- 03-11-2011, 03:59 AMsunde887
b = b + the rest.

Type a similar formula and print the answer to view how it is calculated. - 03-11-2011, 04:51 AMDarrylBurke
Also go through this section of the tutorial

Operators (The Java™ Tutorials > Learning the Java Language > Language Basics)

db