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 |
whays is mean by inner class?
How many bytes is double?
What are the ways to instantiate the class class?
What is the preferred size of a component?
Explain jvm, jre, and jdk?
How to sort a vector elements that contains the user define class object? (Note: If Suppose consider, A Student class contain two data members. They are String studentName and int rollNo. I am creating Four objects for this class, each object contains students details like name and roll no. Now i am storing that objects in vector and if i retiving the elements from the vector means then it should be display in sorting order)
3 Answers ProdEx Technologies,
What happens if an exception is throws from an object's constructor?
Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?
What is compile time polymorphism?
20 Answers CTS, Elementus Technologies, Oracle,
What is the purpose of stub and skeleton?
How to print a statement without using semicolan in java
What does nextint () do in java?