Title: Variable Name
Course: CPS 120: Introduction to Computer Science ~ Master (Aug/2015) OLD > Section: Learning Units

1. Must begin with a letter or the underscore character (_), followed by one or more of the following characters:

- Letters: A..Z, a..z
- Digits: 0..9
- Underscore character: _

2. Is case-sensitive: z represents a variable separate from Z.

3. It can not be a reserved word.

Good Variable Name Examples

Z
_Name
FirstName
homeAddress
ZipPlus4
High_Number

Bad Variable Name Examples

3D
@Name
#HashTag
High$Number
_+
Cost$