Operators in Salesforce Apex

Operators in Salesforce Apex are the symbols you use to calculate, compare and combine values: arithmetic (+ - * /), comparison (== != < >), logical (&& || !), assignment (= += -=), bitwise, the ternary ? :, safe navigation ?. and null coalescing ??. One operator is missing: Apex has no % remainder operator; use Math.mod(x, y) instead.

I ran every operator below in the Developer Console of a Salesforce Developer Edition org, including the % error and the results of integer division and Math.mod with negative numbers, so you can see exactly what Apex returns.