Summary: Arithmetic Expressions
This lesson is a summary of the main points made in this chapter.
We'll cover the following...
- Java has five operators for primitive numeric data:
+
,-
,*
,/
, and%
. Each has two operands, but+
and-
can also have only one operand. - Operators within an expression have a hierarchy or precedence. That