Learning Java Programming Season 1 Episode 10 Primitive Variable Types: byte, short, and long
- November 1, 2023
- 8 min
Explore additional primitive variable types. A byte holds eight bits and is commonly used in instances where you need a small container for data. A short holds 16 bits, and makes a great mid-sized container. And a long, at 64 bits, is best for larger numbers.