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 class forname work in java?
What is the difference between post and put?
What methods are used in Servlet?Applet communication?
What is a type parameter in java?
What is the difference between yielding and sleeping?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
Can we have any code between try and catch blocks?
How many bits are used to represent unicodde,ASCII,UTF-16 and UTF-8 characters?
please write java program of instanceOf keyword implementation
C and C++ has constructors and distructors, why does Java does not have distructors?
What is "Java Native Interface" and how to use it?
Is Java Platform Independent if then how?