Using ++ and --
++ will add one(1) to a variable, and -- will take one(1) off. It's a
shortcut, so foo = foo + 1 becomes foo++. The ++ can be placed before or after
the variable name. This affects things where you are reading the result, so a =
++b gets the new value, a = b++ gets the old value.
int i=0;
i++;
See also " Using += , -= , *= , /= and %= "
NOTE: The Java section is mostly in maintenence mode. I don't have time to work on it right now. Errors will be corrected if pointed out, but they are not actively being searched for. Newer site features, like alternate stylesheets, may cause problems with these pages.