7 types of Datatypes
1.boolean
2. int
3. double
4. long
5. short
6. float
7. char
Represents true or false
Boolean
a datatype that can store whole numbers
(4, 5, 100)
int(integer)
a datatypes that can store decimal numbers.
double
a datatypes that can store whole number when int is not large enough to store the value. Ex:150000000000000000L
long
a datatypes that can store only one value.
short
datatype that can store fractional number of mix numbers.
Ex: 3 1/2.
float
a datatype that store symbol and letters.
char