Saved Bookmarks
| 1. |
Mr. Dixon declared a variable as follows int 9age. Is it a valid identifier. If not briefly explain. the rules for naming an identifier. |
|
Answer» It is not a valid identifier because it violates the rule The rules for naming an identifier is as follows: 1. It must be start with a letter(alphabet) 2. Under score can be considered as a letter 3. White spaces and special characters cannot be used. 4. Key words cannot be considered as an identifier |
|