Rules to write identifier ?
Answers
Answered by
3
Answer:
PʟEASE ʀEFEʀ TO TʜE ATTACʜMEɴT .
Attachments:
Answered by
1
Identifiers
Identifiers are the names of variables, methods, classes, packages and interfaces in Java.
Rules for naming an Identifier in Java
- It can have any alphabet (capital or small), digits, underscore and dollar sign characters.
- It should not begin with digits or should not contain any special characters.
- It cannot have space between them.
- It must not be a keyword.
- It can be of any length.
Similar questions
India Languages,
1 month ago
Art,
1 month ago
Computer Science,
1 month ago
History,
2 months ago
Physics,
2 months ago
History,
8 months ago
History,
8 months ago