Computer Science, asked by PreityGupta, 4 months ago



Write any three indentifer forming rules (in java)​

Answers

Answered by Oreki
2

\textsf{\large \textbf{Rules for naming an Identifier}}    \text{\textemdash \:\: It can have any alphabet (capital or small), digits, underscore and dollar sign.}\\\text{\textemdash \:\: It should not begin with digits or should not contain any special characters.}\\\text{\textemdash \:\: It cannot have space between it.}\\\text{\textemdash \:\: It must not be a \textit{keyword}.}\\\text{\textemdash \:\: It can be of any length, but very long or too short n\symbol{97}mes are impractical.}

Similar questions