Next: Data types in mathematics
Up: Unit 04
Previous: Unit 04
- Representation of numbers in Java: the primitive numeric data types
int, long, short, byte, float, double
- Set of values that can be represented, and operations on such primitive
numeric data types
- Difference between the assignment for primitive data types and the
assignment of references to objects
- Operators obtained by composition and expressions with side-effect
- Definition of constants
- Precision in the representation
- Conversion of strings in numbers and viceversa; input and output of
numeric values
- Compatibility among primitive numeric data types; type conversions (cast)
- Other primitive data types in Java: char and boolean
Next: Data types in mathematics
Up: Unit 04
Previous: Unit 04