- The arithmetic operators are used to perform mathematic calculations just like basic mathematics in school.
- They take two operands and return the result of the mathematical calculation.
- The basic arithmetic operations in Java Programming are addition, subtraction, multiplication, and division.
- Arithmetic Operations are operated on Numeric Data Types as expected.
- Arithmetic Operators can be Overloaded.
- Arithmetic Operators are “Binary” Operators i.e they operates on two operands.
The following table lists all arithmetic operators in Java:
Operator | Description |
---|---|
+ | Addition |
– | Subtraction |
* | Multiplication |
/ | Division |
% | Modulus |