57.3k views
16 votes
What is variable? What are the rules followed for naming a variable?​

1 Answer

10 votes

The rules and conventions for naming can be summarized as follows: Variables names are case-sensitive. A variable's can be any legal identifier -an unlimited-length sequence of Unicode letters and digits, beginning with a letter, the dollar sign "$", or the underscore character "_".

User Safet
by
4.0k points