Which characters are allowed to use as the second character
of an identifier, and which characters are not allowed?
Answers were Sorted based on User's Feedback
Answer / vijayakumar chinnasamy
The Second letter may be
Alphabetic letters - a to z ot A to Z
Numerals - 0 to 9
Only special character $,_ and Euro currency symbols
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
How does the garbage collector works in java?
How many types of flags are there?
What do you mean by multithreaded program?
wHAT IS DEFAULT SPECIFIER IN JAVA wHAT IS DEFAULT CONSTRUCTOR IN JAVA wHAT IS DEFAULT METHOD IN JAVA
How can an object be unreferenced?
What is the difference between superclass and subclass?
What are the parts of methodology?
What are different data structures in java?
What is math floor in java?
why top level class could not be static
What is the difference between Synchronizing mehtod & Synchronizing block?
What is the importance of main method in Java?