A variable is a container that references a physical location within main memory with a label for the information, rather than a numeric address of the memory itself.(Glenn, Dennis, 2015, p. 281)

Data TypeDefinitionExamples
Integer (int)Numeric data type for numbers without fractions-707, 0, 707
Floating Point (float)Numeric data type for numbers with fractions707.07, 0.7, 707.00
Character (char)Single letter, digit, punctuation mark, symbol, or blank spacea, 1, !
String (str or text)Sequence of characters, digits, or symbols—always treated as texthello, +1-999-666-3333, this is a sentence
Boolean (bool)True or false values0 (false), 1 (true), false, true
Enumerated type (enum)Small set of predefined unique values (elements or enumerators) that can be text-based or numericalrock (0), jazz (1)
ArrayList with a number of elements in a specific order—typically of the same typerock (0), jazz (1), blues (2), pop (3)
DateDate in the YYYY-MM-DD format (ISO 8601 syntax)2021-09-28
TimeTime in the hh:mm:ss format for the time of day, time since an event, or time interval between events12:00:59
DatetimeDate and time together in the YYYY-MM-DD hh:mm:ss format2021-09-28 12:00:59
TimestampNumber of seconds that have elapsed since midnight (00:00:00 UTC), 1st January 1970 (Unix time)1632855600