You can classify a variable using the following characteristics:
- The data type of the variable value, which indicates the kind of information a variable represents, such as number, string, or date
- The scope of the variable, which indicates where the information is available and how long the variable persists
The following sections provide detailed information on Data types and scopes.