3 - Data Types
Not all data is the same, here we discuss:
- Int, which is an integer such as 1, 2, 3, 100, 10000, etc
- Float, which is a decimal number containing up to 7 digits
- Double, which is a decimal number containing up to 15-16 digits
- Char, which is a single character
- String, which is a sequence of characters
- Boolean, a true or false, or a 1 or 0
- Array, a set of a data type in between square brackets
- ["Apple", "B", "1"] - An array of strings
- [1, 2, 4] - An array of integers