Computer Science, asked by Madhushri6385, 8 months ago

Identify legal Java identifier

Answers

Answered by anindyaadhikari13
29

Identifiers are legal only if-

  • There is no space present.
  • The name is not a keyword.
  • The name must not starts with a digit.
  • It must not contain special characters other than dollars and underscores.
Answered by ramyasanvi
0

Answer:

isLetter(ch) returns true.

getType(ch) returns LETTER_NUMBER.

the referenced character is a currency symbol (such as '$')

the referenced character is a connecting punctuation character (such as '_').

Explanation:

Similar questions