Identifiers can be short names (like x and y) or more descriptive names (age, sum, totalVolume).
The general rules for constructing names for variables (unique identifiers) are:
- Names can contain letters, digits, underscores, and dollar signs;
- Names must begin with a letter;
- Names can also begin with $ and _;
- Names are case sensitive (y and Y are different variables);
Below are some examples: