Computer Applications
What are the rules to assign a variable in a Java programming?
Values & Data Types Java
133 Likes
Answer
- Name of the variable should be a sequence of alphabets, digits, underscore and dollar sign characters only.
- It should not start with a digit.
- It should not be a keyword or a boolean or null literal.
Answered By
78 Likes