Primitive data types

The purpose of data types is that they allow the compiler to know how big a variable is and what kinds of operations are valid.

Primitive types:

Numeric values:

Literals: A literal is an explicit data value used in a program such as 5.

Characters

Booleans