Computer Science, asked by frank7, 1 year ago

what are the rules to assign a variable in java programing

Answers

Answered by ukp
1
Variable is an identifier which holds data or another one variable is an identifier whose value can be changed at the execution time of program. Variable is an identifier which can be used to identify input data in a program.
Every variable name should start with either alphabets or underscore ( _ ) or dollar ( $ ) symbol.No space are allowed in the variable declarations.Except underscore ( _ ) no special symbol are allowed in the middle of variable declarationVariable name always should exist in the left hand side of assignment operators.Maximum length of variable is 64 characters.No keywords should access variable name.

Note: Actually a variable also can start with ¥,¢, or any other currency sign.


frank7: be write in short
ukp: brainliest please
Similar questions