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
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Can we overload the constructors?
What are access specifiers in java ?
Is boolean a data type in java?
How can a gui component handle its own events in java programming?
What are the two types of exceptions in java? Which are the differences between them?
Explain the differences between static and dynamic variables?
Can we override the static method?
How do you replace a string in java?
What is contract between hashcode and equal method?
What is the largest number a double can hold?
What does java stand for?
Where is singleton pattern used?
Can an arraylist be empty?
Name few java 8 annotations ?