Datatypes in Java
Data types specify the different sizes and values that can be stored in the variable.
Primitive Data Types
- boolean
- char
- byte
- short
- int
- long
- float
- double
Data types specify the different sizes and values that can be stored in the variable.