what are the rules to assign a variable in Java programming?
Answers
Answered by
1
first declared the variable with valid identifier and assign the value on them
Answered by
5
Answer:
Explanation:Rules to assign variable in a program : 1. A variable may have any number of character.
2. It may contain alphabets,digits,dollar sign or underscore.
3. The underscore can be used in between the character to separate the words of a variable name.
4. The variable name should be meaningful which easily depicts its meaning.
Similar questions
Accountancy,
7 months ago
English,
7 months ago
History,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago