Data type

A data type is a classification of the type of data that a variable or object can hold in computer programming. Data type is an important factor in virtually all computer programming languages, including visual basic, C#, C++, and JavaScript. When programmers create computer applications, both desktop and web-based, data types must be referenced and used correctly, to ensure the result of the application's functions is correct and error-free.

The most common data types include boolean, integer, floating-point number, character, and alphanumeric string. There are other data types in programming languages, each serving a specific function and storing data in a particular way. Understanding the different data types allows programmers to design computer applications more efficiently and accurately.

Also see: Programming terms