Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed?
Answer Posted / ranganathkini
The following are the attributes of the character that is
part of a Java identifier but not as the first character:
* it is a letter
* it is a currency symbol (such as '$')
* it is a connecting punctuation character (such as '_')
* it is a digit
* it is a numeric letter (such as a Roman numeral character)
* it is a combining mark
* it is a non-spacing mark
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is an empirical question?
What is empty list in java?
Is passing by reference faster?
How do you clear a method in java?
What is static variable with example?
Is 0 a prime number?
What is the difference between compare and compareto in java?
What is a functional interface?
What is the difference between the prefix and postfix forms of the ++ operator?
Why string is a class?
Give the difference between the println method and sqrt method?
What is better- service oriented or batch oriented solutions?
What is token in java?
Whats the difference between notify() and notifyall()?
What is the advantage of preparedstatement over statement?