Basic Java Language: Difference between revisions

Line 111: Line 111:


The result of "a" in each example would be simply
The result of "a" in each example would be simply
<pre>
1st a - "a" minus 1
1st a - "a" minus 1
2nd a - "a" divided by 1
2nd a - "a" divided by 1
3rd a - "a" multiplied by 1
3rd a - "a" multiplied by 1
</pre>


When all of the operators are used at once, for example:
When all of the operators are used at once, for example: