|
|
||||||
|
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
|
Expressions evaluate to values, and are used in assignments or in calls to methods: Mathematical (result in numerical values)
Boolean (results in a boolean value)
Some special notations exist for incrementing/decrementing:
In an assignment, values are stored in a location denoted by a name. The left side of an assignment must necessarily denote a memory location denoted by a variable name. The right side of an assignment must be a value:
Operators in Java include: Mathematical: + , - , * , / , % (modulus) Boolean: && (and), || (or), == (test equality), != (test inequality
|
||||||||||||||||||||||||||