Basic Java Language: Difference between revisions

Line 154: Line 154:
There are shortcuts to all of the operators, which will be shown in the following sections.
There are shortcuts to all of the operators, which will be shown in the following sections.


===Subtraction -, Division / and Multiplication * Operators===
===Subtraction (-), Division (/) and Multiplication (*) Operators===


Just like the addition operator, the Subtraction, Division, and Multiplication operators are used as follows:
Just like the addition operator, the Subtraction, Division, and Multiplication operators are used as follows: