What is a Variable?


Variables are used to store values for later use. To hold these values, you must declare locations in memory where each of these values can be stored. This memory location is called a variable. A variable contains any unit of information like a number, a date, or a sequence of alphanumeric characters (called a string). The type of information a variable contains is always the same, but its contents can be changed easily and quickly.

More about Variables

See Also