A data type is a classification of the type of data that a variable can hold. Data types can be common or user-defined.
Basic Data Types
The basic data types are integer, double and string.
User-Defined Data Types
Object-oriented language lets you create custom or user-defined data types that define the behavior of the data.