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 |
Explain java coding standards for interfaces?
how does the run() method in runnable work? : Java thread
When should the method invokelater() be used?
How is string stored in java?
Difference between start() and run() method of thread class?
When should I use singleton?
What is isa relationship?
How many bytes is a string java?
What does the “final” keyword mean in front of a variable? A method? A class?
Is array a class in java?
How many types of thread in java? give the name
What is a type parameter in java?