| | | A Few Other Primitive Types |
A Few Other Primitive Types
Java includes four commonly used numeric types:
- int,
- long,
- float, and
- double
We discussed
- Operations +, -, *, /, and % on ints
- Operations +, -, *, and / on doubles
- "Mixed mode" arithmetic
- Precedence rules to determine the order of operations.
| | | A Few Other Primitive Types |