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
What are different types of states exist for a thread?
How will you initialize an Applet?
What are inbuilt functions in java?
What is implicit object in java?
What are the problems faced by java programmers who don't use layout managers?
What is a functional interface?
What is default size of arraylist in java?
How does arrays sort work in java?
What is the meaning of 3 dots in java?
What is null mean in java?
Can we have 2 main methods in java class?
How can I right-justify a string?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What are the main differences between the java platform and other platforms?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).