The data types are:
-
Data types that are primitives:
- The data type specifies the size and type of information the variable will store.
- Boolean. true and false.
- int 2 or 4 bytes Stores whole numbers, without decimals
- float 4 bytes Stores fractional numbers, containing one or more decimals. Sufficient for storing 7 decimal digits
- double 8 bytes Stores fractional numbers, containing one or more decimals. Sufficient for storing 15 decimal digits
Although these data types are a relatively small amount, they enable you to perform useful functions with your applications. and functions as procedures that your application can perform.