increment and decrement operators in java code example Example: increment java int i = 5; i++; // i = 6