Identifiers are the name of variables, constants, functions, arrays, classes etc.
There are some rules to provide name to the variable, constants
- Only alphabets, digits and underscores are allowed.
- int var1;
- int first_number;
- Uppercase and lowercase are different.
- int personAge;
- int PERSONAGE;
- Keyword defined in programming language are not permitted.
- int for;
- The name can not start with a digit.
- int 1var;