An operator is a symbol that tells the compiler to perform a specific mathematical or logical manipulation.
Java has four general classes of operators: arithmetic, bitwise, relational, and logical.
Java programming language has the following arithmetic operators:
|+||Addition(also unary plus)|
|–||Subtraction(also unary mins)|
Increment and Decrement
x = x +1; // is the same as x++; x = x -1; // is the same as x--;