Learning Java Programming Season 1 Episode 9 Primitive Variable Types: boolean and char
- November 1, 2023
- 10 min
There are eight primitive variable types in Java, each of which has a set number of data bits it can hold. Dichone introduces you to the boolean primitive, which can only hold either 1 or 0 (true or false), and the char primitive, which represents one character only.