Computer Science, asked by sneha413639, 2 months ago

Rules to write identifier ?​

Answers

Answered by Anonymous
3

Answer:

PʟEASE ʀEFEʀ TO TʜE ATTACʜMEɴT .

Attachments:
Answered by Oreki
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