Data Types in Java
Objectives¶
- Understand binary addition.
- Understand how Java stores primitive values in memory.
- Be able to declare and initialize variables so they are in the correct range for their respective types.
Topics¶
- Data Types You've Used
- Memory and Java
- Bits and Bytes
- Counting in Binary
- Most Significant Bit
- Primitive Data Types
- Primitives and Memory
- Variable Types Tell Java What to Do
- Declaring and Assigning Primitive Values
- Floating Point Literals
longfor Large Numbersswitchand Data Types- Labs