Learning Java/Basic Java Language: Difference between revisions
Content deleted Content added
Undo revision 386490 by Lurkingfate (Talk) |
|||
Line 172:
Note, this operator is not to be confused with the concatenation operator, which we will discuss later.
===
<pre>
int a = 9;
a-
a/3; // evaluates to 3
a*2; // evaluates to 18
Line 183:
</pre>
When more than one of the operators are used in the same statement, for example:
|