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
Is char a data type in java?
What is the use of keywords in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
Why string is called as immutable?
Is passing by reference faster?
What is a flag value?
Can we instantiate interface in java?
Write a factorial program using recursion in java?
How do I compare two strings in word in java?
Why declare Main() inside the class in java ?
When do we use synchronized blocks and advantages of using synchronized blocks?
Is it possible to override private or static method in java?
what is the difference between thread and runnable types? : Java thread
What is class forname used for?
what is the messsage u r going to get from an objectoriented programing?