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
How is a structure different from array ?
What is Garbage Collection in Java
What type of value does sizeof return?
How to sort list of list in java?
Why java uses the concept of the string literal?
What variables are stored in stack?
Is linked list a linear or non-linear data structure?
What are the differences between processes and threads?
What is the difference between class forname and new?
What is meant by final class?
What are operators and its types?
Write a java program to check if a number is prime or not?
Define nashorn in java8.
How can a gui component handle its own events in java programming?
Which access specifier can be used with class ?