
Type
In programming, a "type" specifies what kind of data a variable holds, such as text, numbers, or dates. It defines how the data is stored, how much space it requires, and what operations can be performed on it. For example, an integer type holds whole numbers, while a string type holds sequences of characters. Types help ensure that data is used correctly and prevent errors by enforcing rules about what operations are valid for each kind of data. This understanding allows programs to process information efficiently and accurately.