Variables and Naming Rules
- Variable can have short names (like x and y) or more descriptive names (age, sum total volume)
Rule For Naming Variables
- Variable names must begin with a letter.
- Variable names can also begin with $ and _.
- Variable names are case sensitive ( Y and y are different variables).
Multiple Variable Declaration
Variable initialization can be done in two ways:
- At the time of variable declaration
- At the later point when the variable is required