| Operator | Meaning |
|---|---|
| += | Increments then assigns |
| -= | Decrements then assigns |
| *= | Multiplies then assigns |
| /= | Divides then assigns |
| %= | Modulus then assigns |
| <<= | Binary Left Shift and assigns |
| >>= | Binary Right Shift and assigns |
| >>>= | Shift right zero fill and assigns |
| &= | Binary AND assigns |
| ^= | Binary exclusive OR and assigns |
| |= | Binary inclusive OR and assigns |
| Operator | Meaning |
|---|---|
| + | Unary plus operator; indicates positive value (numbers are positive without this, however) |
| - | Unary minus operator; negates an expression |
| ++ | Increment operator; increments a value by 1 |
| -- | Decrement operator; decrements a value by 1 |
| ! | Logical complement operator; inverts the value of a boolean |