Increment and Decrement in java

The increment operator increases its operand by one. The decrement operator decreases its operand by one. For example, this statement: x = x + 1; can be rewritten like this by use of the increment operator: x++; Similarly, this statement x = x – 1; x–; These operators are unique in that they can appear … Read more